Skip to main content
100%

Firoze_Tutorial 3.2

✓ Published0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example shows a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with species encoded as different symbol shapes. It uses d3.scaleLinear and d3.scaleOrdinal to position points and assign shapes from d3.symbolsFill, while d3.axisLeft and d3.axisBottom render the axes. A custom legend, built with d3.symbol, lists the species names alongside their corresponding shapes. The data is loaded as CSV from GitHub and parsed with d3.csvParse.

AI-generated description
MIT Licensed

Similar vizzes