🌍 Public
Stylized Bar Chart
This stylized bar chart displays the populations of the ten most populous countries using a horizontal layout with custom-styled axes and a teal color palette. The visualization loads UN population data from 2019 via a CSV file, then renders the chart as an SVG using React components and D3’s `scaleBand` for the categorical country axis and `scaleLinear` for the population scale. The bottom axis formats tick labels using D3’s `format` utility, converting large numbers from billions to abbreviated form, with tooltips provided by SVG `<title>` elements.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data
MIT Licensed
Comments
Sign in to join the discussion.