Skip to main content
100%

Saketh Sara ICE-7

✓ Published0🌍 Public
Ssarasaketh3@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025

This example shows a reusable scatter plot of sales versus profit for ten product categories, with each point colored steelblue and annotated with tooltips. The visualization is rendered as an SVG using D3 v7, employing `d3.scaleLinear` for axes and `d3.axisBottom`/`d3.axisLeft` for ticks. Data is loaded asynchronously from a local CSV file via `d3.csv`. The chart is wrapped in a custom `scatterPlot` function that accepts configuration options, demonstrating a modular approach for reuse.

AI-generated description
MIT Licensed

Similar vizzes