Skip to main content
100%

Fork of ICE-7 : Reusable Scatter Plot

✓ Published1🌍 Public
MM Hema
Last edited Mar 28, 2024
Created on Mar 28, 2024

This visualization uses D3 to render a reusable scatter plot of COVID-19 data, plotting each country’s population against itself while encoding the dataset’s SkinThickness column through symbol shapes. The chart displays axes for both variables, with points positioned using `scaleLinear` and `extent` for domains. The code relies on `d3.scaleOrdinal` to map symbol types and `d3.symbol` to generate the path data, while `axisLeft` and `axisBottom` add the scales. Data is loaded as CSV via `d3.csv`, and the plot is rendered as SVG with a custom margin and size configuration.

AI-generated description
MIT Licensed

Similar vizzes