Skip to main content
100%

Fork of Reusable D3 Scatter Plot- likitha

✓ Published0🌍 Public
Aaddalalikitha15@gmail.com
Last edited Mar 25, 2026
Created on Mar 25, 2026

This visualization is a reusable D3.js scatter plot showing the relationship between temperature and migration distance for birds, with points colored by region. Built with D3 v7, it uses `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to map the CSV data to a Cartesian grid. The code defines a configurable `scatterPlot` function that handles axis labels, chart title, and a categorical color legend via `scaleOrdinal` and `schemeCategory10`. The dataset is loaded from a raw GitHub CSV URL, with numeric fields parsed for plotting.

AI-generated description
MIT Licensed

Similar vizzes