Skip to main content
100%

Act7

✓ Published0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 30, 2024
Created on Oct 30, 2024

This example demonstrates a reusable scatter plot of the Iris dataset, showing the relationship between two numeric variables with circular marks. It uses D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and render axes, while the custom `scatterPlot` module controls width, height, margins, and radius through a fluent API. Data is loaded via `d3.csv` from a remote gist URL. The plot displays unlabeled axes but includes a static 'TEXT' label on the x-axis, with styling handled through CSS for fonts and colors.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes