Skip to main content
100%

HTML Starter

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

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 description

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

See also React Starter.

MIT Licensed

Similar vizzes