Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
SSreedevi Itta
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

This example renders a scatter plot from CSV data fetched from a GitHub Gist via `fetch` and parsed with `d3.csvParse`. It automatically selects numeric columns for the x and y axes, with an optional categorical column mapped to colored dots. The visualization is drawn as an SVG using D3 v7, featuring labeled axes, a legend for categories when present, and a warm, minimalist styling theme. The code is designed to be adaptable, falling back to the first two numeric columns if no recognizable column names are found.

AI-generated description
MIT Licensed

Similar vizzes