Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
TTrustPaul
Last edited Nov 12, 2020
Created on Nov 12, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes