A user on Reddit r/gramps wants to explore creating an occupational statistics bar chart diagram.
What sample code can a prospective developer review? Here’s a partial list of Gramps features that provide comparative statistical information:
- Top Surnames Gramplet: Text list of the 10 most frequent surnames, with percentile and count]
- Surname Cloud gramplet: Surname font size scaled by frequency
- Age Stats Gramplet: Distribution bar chart of lifespans in the family tree.
- Pedigree Gramplet: Includes a completeness percentile of generations at the bottom
- DNA Segment Map Gramplet: Chromosome map comparing DNA samples
- DNA Matches gramplet: compares shares cM, segment count and segment size
- Statistics Chart (Graphical Report): Attempts to display comparative bar charts with selectable criteria
- Database Summary report: Text list displays the overall statistics concerning number of individuals of each gender, various incomplete entries statistics, as well as family and media statistics
- Compare Individual Events Tool: Allows analysis and comparison of events across the database
- Number of Ancestors quickview: count of ancestors per generation and completeness for a selected person
- Number of ancestors report: count of ancestors per generation and completeness for a selected person
- Ancestor Fill report:
- Descendant Count gramplet/quickview: count of all decscendants for each person in the tree
- Relationship Calculator: Provides statistical analysis of family connections, adaptable to language-specific terminologies
- Research and Analysis Tools: Include features like duplicate people finder and interactive descendant browser, which can provide comparative data
- Heatmap web report: filtered Event frequency on a geographical heatmap
- Verify the Data: Identifies and reports on data inconsistencies, providing a statistical overview of database quality
- Information Map: spidered connections GraphViz graph of tree object connections
Example target chart:
- Purpose: To visually compare the prevalence of various occupations across different time periods.
- Chart Title: Occupations Over Time
- X-Axis: Timeline spanning centuries at quarter-century increments.
- Y-Axis: Quantity of occurrences for each occupation.
- Bars: Each bar represents a specific occupation, with height proportional to its occurrences. Bars are grouped by time period and colored differently to distinguish between occupations.
- Legend: A key is included to map each color to its corresponding occupation.