🌍 Public
Viewing a saved revision (read-only)
f9b2a476f56b415f84d6b0dc3c52ccfb
Vinay Task
This example uses a scatterplot to explore the relationship between petal length and petal width in the Iris dataset. It loads the data via `d3.tsv`, converts the numeric fields, and renders purple circles through the SVG-based D3 API. The chart uses `d3.scaleLinear` to map the continuous variables to the plotting area and displays them with `d3.axisBottom` and `d3.axisLeft`. Both axes are labeled, and a bold title describes the plot’s purpose. The visualization is built with React, which manages the container element, while D3 handles the SVG drawing.
AI-generated description