Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

4c0ca9919b2c46bd82ba2ab284cd24d2

HTML Starter

0 stars1🌍 Public
TTrustPaul
Last edited Nov 16, 2020
Created on Nov 16, 2020
Forked from HTML Starter

This example shows a simple bar chart of population data for several countries, loaded from a CSV file. The bars render in green using SVG rectangles, with a linear x-scale for population and a band y-scale for country labels. D3 v6 handles the data loading via `d3.csv`, the scales, and the axes, while CSS sets the page’s large font size and bar color. The chart is drawn inside a 500x500 SVG with margins applied through a group transform.

AI-generated description

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

See also React Starter.