Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Graph Trial

Public visualization

Viewing a saved revision (read-only)

33cf47cd1e8f4c0faaf91743d33d243a

Line Graph Trial

0 stars1🌍 Public
DdeafMother
Last edited Feb 22, 2020
Created on Feb 19, 2020
Forked from Scatter Trial

This interactive line graph visualizes cryptocurrency price and market capitalization trends over time, with dropdown menus to select the metric (price_usd or market_cap) and coin type (bitcoin, ethereum, litecoin, ripple, or bitcoin_cash). The SVG chart animates transitions between datasets using `d3.transition()`, updating the line path, x-axis (time), and y-axis (linear scale) with a duration of 700ms. Data is loaded from `buildings.json` via `d3.json()`, with dates parsed using `d3.timeParse()`, and the y-axis labels are conditionally formatted (e.g., market cap shown in thousands with “k”).

AI-generated description

A bare minimum HTML page.

See also React Starter.