Skip to main content
Public

Share visualization

Loading preview…

Fork of Cancer Survival Rates

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

Fork of Cancer Survival Rates

1
AAsrar Al Qassem
Last edited Mar 30, 2024
Created on Mar 30, 2024

This visualization shows a network of cancer types in the United States, with the country as a central red node connected to various blue cancer-type nodes. The code uses D3.js v6 with `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to position nodes, along with `d3.drag` for interactivity. Data is loaded from a CSV file using `d3.csv` and rendered as SVG elements, with labels displaying each cancer type.

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