Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

5e5a3f5a5e904a4b989eb2ea60c68d2d

Bar Chart

0 stars2🌍 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.