Skip to main content
100%

Bar Chart

✓ Published2🌍 Public
TThamjith Thaha
Last edited Jul 24, 2020
Created on Jul 24, 2020
Forked from Hello VizHub

This bar chart displays the populations of five countries, with China and India leading by a wide margin. The visualization uses D3 v5 within a React framework, rendering SVG elements. Population values are read from a CSV file and scaled using `scaleLinear` for the x-axis and `scaleBand` for the y-axis. Axes are generated with `axisBottom` and `axisLeft`, while the chart applies a custom tick format to abbreviate large numbers.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes