Bar chart
✓ Published1🌍 Public
A bar chart displays the populations of ten Finnish cities, ordered by name along the vertical axis with population values extending horizontally. The visualization uses d3.scaleBand for the categorical city axis and d3.scaleLinear for the continuous population scale, rendering bars as SVG rectangles with a steelblue fill. Data is loaded from a CSV file using d3.csv, then parsed to convert population strings to numbers before binding to the scales. Axes are generated with d3.axisLeft and d3.axisBottom, all within a React-agnostic D3 v5 setup.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed