Skip to main content
Public

Share visualization

Loading preview…

Fork of Scatter Plot Color Improved Francesca

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 Scatter Plot Color Improved Francesca

0
Ffsajedi22
Last edited Feb 24, 2023
Created on Feb 24, 2023

This example visualizes a scatter plot of cheetah incident data, showing the number of cheetahs received versus the number alive, with points colored by unit type. The code uses D3 v7’s `scaleLinear` for axes and `scaleOrdinal` for color mapping, rendering circles via WebGL. Data is loaded from a local CSV and parsed with `csvParse`, while axes are drawn using `axisLeft` and `axisBottom` from D3’s d3-axis module.

AI-generated description

A scatter plot of Cheetah Dataset with axes and color for the unit feature from https://data.mendeley.com/datasets/84k92j4n3y

Comments

Sign in to join the discussion.

MIT Licensed