Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
Jjeelong
Last edited Jun 6, 2021
Created on Jun 15, 2020
Forked from Lets make a Map

A bar chart displays population estimates for twelve countries, sorted by country name along the y-axis and population magnitude along the x-axis. The visualization uses React with D3 v5, rendering SVG rectangles scaled by `d3.scaleLinear` and positioned with `d3.scaleBand`, while axes are generated via `d3.axisLeft` and `d3.axisBottom`. Data is loaded asynchronously from a CSV file using `d3.csv` and parsed into numeric values before rendering.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes