HTML Starter
✓ Published0🌍 Public
This example shows a simple bar chart of population by country, rendered as an SVG using D3 v6. The chart maps population values to bar widths with `d3.scaleLinear` and country names to vertical bands with `d3.scaleBand`. Data is loaded from a CSV file using `d3.csv`, parsed into numbers, and then appended as `rect` elements to an SVG. The code demonstrates a bare-bones HTML page combining inline CSS, JavaScript, and D3 to create a static visualization.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed