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
RRobFaj
Last edited Apr 3, 2023
Created on Apr 1, 2023
Forked from HTML Starter

This example displays the U.S. Federal Funds borrowing rate over time as a single steelblue line chart, with a focus on user interaction. Hovering the mouse over the plot reveals a small black circle and a text label that track the nearest data point, showing its date and rate value. The visualization uses d3.csv to load the dataset, d3.scaleTime and d3.scaleLinear for axes, and d3.line for the path. It also employs a d3.bisector to locate the closest data point, with SVG elements for rendering.

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