Skip to main content
100%

ice7

✓ Published0🌍 Public
Sshyamraghav12@gmail.com
Last edited Mar 30, 2026
Created on Mar 30, 2026
Forked from assignment 6

This example shows a scatter plot of revenue versus profit from a CSV dataset of 200 rows. The plot is built with a reusable D3 module called `scatterPlot`, which uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to map and render the axes. Circles are appended with `d3.selectAll` and `join`, using a fixed radius and a steelblue fill. The data is loaded asynchronously with `d3.csv` and parsed to remove currency symbols, while the SVG fills the entire browser window.

AI-generated description
MIT Licensed

Similar vizzes