🌍 Public
Viewing a saved revision (read-only)
4fc53974e1a942568dd89903aead91a1
Let's make a bar chart with D3 and SVG
A bar chart displays population estimates for nine countries using horizontal bars, with country names on the y-axis and population values on the x-axis. The chart is rendered as SVG in a React framework using D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Data is loaded from a CSV file and appended as `rect` elements inside a grouped `<g>` element with margins.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.