Skip to main content
100%

Stylised Bar Chart

✓ Published1🌍 Public
Aazharahmad0
Last edited Mar 26, 2021
Created on Mar 26, 2021

This stylised bar chart displays the top ten countries by population, using a D3 scaleBand and scaleLinear to map categorical country names and quantitative population values onto SVG rectangles. The React application loads CSV data from a GitHub gist via D3’s csv utility, formats tick labels with D3’s format function (converting “G” to “B”), and renders custom SVG axes and marks. Styled with the Poppins font and teal marks, the chart includes interactive tooltips that show the exact population on hover.

AI-generated description

A program that loads in some data about css named colors using D3 utitilities, and uses React render the data.

MIT Licensed

Similar vizzes