Skip to main content
Public

Share visualization

Loading preview…

Working with Time, Stylized 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

Working with Time, Stylized Line Chart

2
KKtuzinowski
Last edited Jul 27, 2021
Created on Jul 26, 2021

This stylized line chart visualizes temperature readings from San Francisco over the course of a week. The temperature data is loaded via a CSV file using d3.csv, with timestamps parsed as JavaScript Date objects. d3.scaleTime maps timestamps to the x-axis, while d3.scaleLinear handles the temperature range, with axes rendered as SVG elements. The line path uses d3.line with curveNatural smoothing, and each data point includes an SVG circle with a native tooltip title. Poppins font and teal styling give the visualization a modern, clean appearance.

AI-generated description

Scatterplot of iris dataset

Comments

Sign in to join the discussion.

MIT Licensed