Skip to main content
100%

Grouped Bar Chart - Age

✓ Published0🌍 Public
Aajayk1931
Last edited Feb 10, 2017
Created on Feb 9, 2017

This grouped bar chart compares the number of people aged 25 and over who have attained various college degrees, broken down by age brackets from 25–34 through 65 and over, using data from the US Census Bureau’s Survey of Income and Program Participation. Five education levels—from associate’s to doctorate—are shown side by side for each age group, with population counts in thousands. The visualization uses d3.csv for data loading, d3.scaleBand for x-position and grouping, d3.scaleLinear for the y-axis, and d3.scaleOrdinal with d3.schemeCategory10 for color encoding. Axes are rendered with d3.axisBottom and d3.axisLeft, and values are formatted using d3.format.

AI-generated description

This visualization shows the number of people who have attained a college degree grouped by population age 25 and over.

Data Source: Table 1A of What It's Worth: Field of Training and Economic Status, US Census Bureau, Survey of Income and Program Participation, 2008 Panel.

Visualization based on <a href='https://bl.ocks.org/mbostock/3887051'> Mike Bostock's </a> Grouped Bar chart example. Features include:

  • d3.csv - load and parse data
  • d3.scale.ordinal - x-position encoding and color encoding
  • d3.scale.linear - y-position encoding
  • d3.format - SI prefix formatting (e.g., “10M” for 10,000,000)
  • d3.max - compute domains
  • d3.keys - compute column names
  • d3.svg.axis - display axes

Built with blockbuilder.org

mit Licensed

Similar vizzes