🌍 Public
Viewing a saved revision (read-only)
e350d4ddbb1f4c41813e9e0cf2975057
Fork of Reusable D3 Scatter Plot- likitha
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