Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7 : Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a9addc4a645a49acac9738a0d2fecd1e

Fork of ICE-7 : Reusable Scatter Plot

0 stars0🌍 Public
MM Hema
Last edited Mar 28, 2024
Created on Mar 28, 2024

This scatter plot visualizes COVID-19 total cases against total deaths, with each country represented by a symbol scaled according to a 100-pixel size. The visualization uses D3 v7’s `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` APIs to render SVG marks and axes. Data loads from a GitHub-hosted CSV via `d3.csv`, with margins and dimensions set dynamically to the window size. The reusable `scatterPlot` function exposes configuration methods for data, value accessors, and dimensions.

AI-generated description