Skip to main content
100%

My Own Bar Chart

✓ Published1🌍 Public
BBaraneedharan N M
Last edited Aug 14, 2020
Created on Aug 14, 2020
Forked from React Starter

This example visualizes the population of the top 10 most populous countries using a horizontal bar chart rendered in SVG. The chart displays each country’s population with steel-blue bars, and includes labeled axes with a formatted x-axis that abbreviates large numbers (e.g., 1.42B). The visualization is built with D3 v5 within a React starter, using the `csv`, `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` functions to load data from a CSV file and generate the chart.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes