Skip to main content
Public

Share visualization

Loading preview…

Line Chart

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

Line Chart

1
Bbassansackey@gmail.com
Last edited Apr 2, 2025
Created on Apr 1, 2025
Forked from HTML Starter

This line chart visualizes daily new COVID-19 cases in Spain over a 60-day period, sourced from the CSSEGISandData GitHub repository. The chart uses d3.csv to load time-series data, d3.scaleTime and d3.scaleLinear to map dates and case counts, and d3.line to draw the steelblue path. Interactive circle elements with mouseover handlers populate a tooltip showing the date and cases using event.pageX and event.pageY. The SVG rendering includes grid lines via d3.axisLeft and labeled x and y axes for date and daily cases.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed