Skip to main content
Public

Share visualization

Loading preview…

Untitled

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Untitled

0
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