Skip to main content
100%

Fork of ICE-7 : Reusable Scatter Plot

✓ Published0🌍 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
MIT Licensed

Similar vizzes