HTML Starter
✓ Published0🌍 Public
This example shows a bar chart of population data for several countries, rendered as SVG rectangles. The visualization loads data from a CSV file using `d3.csv`, converts population values to numbers, and maps them to bar widths with `d3.scaleLinear`. Country names are mapped to vertical positions using `d3.scaleBand`, though the range is left empty. The code appends a static SVG canvas and rects without explicit x or y positioning, leaving the chart incomplete. It demonstrates a minimal HTML page combining D3 v6 and vanilla JavaScript.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed