🌍 Public
Viewing a saved revision (read-only)
4c0ca9919b2c46bd82ba2ab284cd24d2
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.