Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

1f5e8cbe8b2343dc867f42184818245e

HTML Starter

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

This example displays a horizontal bar chart comparing the populations of five countries, drawn as green SVG rectangles. The visualization uses D3 v6’s `scaleBand`, `scaleLinear`, and `axisBottom`/`axisLeft` to position bars and ticks, with data loaded from a local CSV file via `d3.csv`. The chart is entirely rendered through SVG elements within a React-agnostic HTML page, styled with CSS for body text and tick labels.

AI-generated description

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

See also React Starter.