Skip to main content
100%

Practice-reusable-chart-1

✓ Published0🌍 Public
Hhossaphul
Last edited Mar 24, 2023
Created on Mar 21, 2023

This visualization is a scatter plot of the Iris dataset, displaying the relationship between petal width and sepal length, with points colored by species. It uses a reusable D3 module (scatterPlot) that applies linear scales, an ordinal color scale, and SVG symbols to render the data. The chart fetches the dataset from a Gist URL, parses numeric fields, and draws axes with d3’s axisLeft and axisBottom, while the symbol size is set to 100. The code demonstrates a configurable chart function with settable properties like width, height, and margins.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes