Skip to main content
100%

Reusable scatterplot

✓ Published1🌍 Public
GGeorgi Dimitrov
Last edited Jul 3, 2022
Created on Jul 2, 2022
Forked from d3 scatterplot

This example demonstrates a reusable scatterplot component built with D3.js, visualizing the classic Iris dataset loaded from a CSV file. The chart plots petal length and width measurements as circles, with axes generated using D3's scaleLinear and axisLeft/axisBottom functions. The scatterPlot function exposes configurable setters for width, height, data, margins, and radius, allowing the chart to be adapted and reused. The visualization renders as SVG, sized to fill the browser window.

AI-generated description
MIT Licensed

Similar vizzes