Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_tutorial3.2

Public visualization

Activity6_tutorial3.2

0 stars0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example shows a scatter plot of iris flower measurements, with sepal length on the x-axis and petal length on the y-axis. Each point uses a distinct symbol shape to encode the species of the flower, and a custom legend explains the shape-to-species mapping. The visualization loads CSV data from a remote GitHub repository, parses it with `d3.csvParse`, and renders the chart using modular D3 v7 functions such as `scaleLinear`, `scaleOrdinal`, `symbolsFill`, `axisLeft`, and `axisBottom`. The code organizes its layout through reusable modules for axes, scatter plot, and a shape legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed