Skip to main content
100%

Fork of act6_Task2

✓ Published0🌍 Public
Ppriyapravallika44@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from act6_Task2

This scatter plot visualizes the relationship between two quantitative variables across data points, with each point colored by its categorical label and a corresponding legend. Built using D3.js, it employs `scaleLinear` for the x and y axes, `extent` to compute domains from the data, and `axisLeft`/`axisBottom` for the coordinate axes. Circles are rendered with `selectAll`/`join`, and the legend is constructed with appended `rect` and `text` elements. The plot derives its categories from the data’s `category` field, assigning colors via a `scaleOrdinal`.

AI-generated description
MIT Licensed

Similar vizzes