Skip to main content
100%

ICE-7: Reusable Scatter Plot

✓ Published1🌍 Public
CChaitanya Galla
Last edited Mar 25, 2022
Created on Mar 23, 2022
Forked from HTML Starter

This visualization shows a scatter plot of the classic Iris dataset, mapping petal width along the x-axis and sepal length along the y-axis. Each data point is rendered as a distinct SVG symbol (circle, square, or triangle) representing one of the three iris species. The implementation builds a reusable `scatterPlot` module that accepts configurable accessor functions for data values and symbols, using D3’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol` APIs. It loads the CSV data via `d3.csv` and populates an SVG canvas sized to the full browser window.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

MIT Licensed

Similar vizzes