Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0๐ŸŒ Public
Ssitaramchallapalli
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from HTML Starter

This example visualizes state population trends from 1910 to 2010 using colored lines for California, Michigan, and Texas. Hovering over the chart reveals a tooltip and a vertical line showing the exact population values for each state at that decade. The visualization is built with d3.scaleLinear, d3.line, and d3.axisBottom/axisLeft, and uses d3.json to load data from a JSON file. It renders as SVG, with a custom tooltip div positioned via d3.event coordinates.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed