🌍 Public
Viewing a saved revision (read-only)
8521b899ae784beca0196dd49cc03b10
Fork of Task -3 question6
This example visualizes penguin measurements as a scatter plot of bill length against flipper length, with each species differentiated by a distinct symbol shape. A shape legend labels the three species categories. The chart uses d3.scaleLinear and d3.scaleOrdinal to map data values to positions and shapes, while d3.axisBottom and d3.axisLeft render the axes. Data is loaded from a CSV file via fetch and parsed with d3.csvParse, and symbols are generated using d3.symbol with the symbolsFill range.
AI-generated description