🌍 Public
Viewing a saved revision (read-only)
8e43582c8b2a4d8e8d3a906f6b33490e
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