Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Task8_Task3.2

Public visualization

Viewing a saved revision (read-only)

cffbebd78a4a49b8837dc6dd9bf84a0d

Fork of Task8_Task3.2

0 stars0🌍 Public
Jjyothirmai318@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Task8_Task3

This example shows a scatter plot of Iris flower measurements, mapping sepal length on the x-axis and petal length on the y-axis, with species distinguished by different symbol shapes. The visualization includes a custom shape legend positioned within the plot. It uses D3 v7’s `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` for shape encoding, and the `symbol` generator to render marks. Data loads asynchronously from a CSV file via `fetch` and `csvParse`, with axes and legend constructed through reusable functions that accept configurations.

AI-generated description