Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
Ppriyapravallika44@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This fork of a reusable D3 scatter plot visualizes monthly sales data across product categories. The chart uses D3’s `scaleOrdinal` and `scaleLinear` to map months and sales values to SVG circle positions, with a color scale distinguishing six categories. An axis and legend are rendered via `axisBottom`, `axisLeft`, and appended SVG elements. The code samples data from a static array, demonstrating a reusable `scatterPlot` function with configurable accessors and margins.

AI-generated description
MIT Licensed

Similar vizzes