Skip to main content
100%

D3 Scatter Plot using iris data set

✓ Published4🌍 Public
Vvidhyanamini
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example shows an animated scatter plot of the Iris dataset, visualizing the relationship between petal width and sepal length for three flower species. Using D3.js version 6.7.0, the plot renders as an SVG and automatically cycles through different x-axis variables every 15 seconds. The implementation uses D3’s scaleLinear, axisBottom, axisLeft, scaleOrdinal, and symbol functions within a reusable scatterPlot chart component. Data loads from a CSV file and displays points as varied symbols representing species, with a custom Share Tech font styling the axes.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes