Skip to main content
Public

Share visualization

Loading preview…

HTML Starter

vizhub.com

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

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

HTML Starter

0 stars0Public
FFarhaan Qazi
Last edited Feb 28, 2023
Created on Feb 27, 2023
Forked from HTML Starter

This example shows a pie chart of COVID-19 data loaded from the Our World in Data CSV file, with the total cases aggregated per location. It uses D3 v7’s `d3.csv` to fetch the data, `d3.pie` and `d3.arc` to generate the chart geometry, and SVG paths with mouseover tooltips for interactivity. The page also includes a large CSS-styled message, and while the chart logic references variables like `covid_data` and `data` that are not fully defined in the visible code, the rendering approach relies on standard D3 selections and transitions.

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