🌍 Public
Viewing a saved revision (read-only)
5dce2aeb64a0428ab30b4a1e9c0ad5be
Untitled
This example visualizes state population growth over time for California, Michigan, and Texas using three colored line charts plotted from 1910 to 2010. Each line is labeled with the state’s name and current population. Built with D3 v4 and React, it uses `d3.scaleLinear` for axes, `d3.line` for path generation, and `d3.json` to load data from a static JSON file. A tooltip, triggered by mouse movement over a transparent overlay rectangle, displays the population ranking for the nearest decade and draws a vertical reference line.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.