Making a bar chart
✓ Published3🌍 Public
This example shows a horizontal bar chart of population estimates for eight countries, with country names on the y-axis and population values on the x-axis. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, and `axisLeft`/`axisBottom` to position bars and ticks within an SVG, loading data from a CSV file via `d3.csv`. React is listed as the framework, though the visible code relies on direct DOM selection. Bars are styled with a steelblue fill via CSS.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed