Skip to main content
100%

Task -8 question3

✓ Published2🌍 Public
Ssamithareddy9@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This example displays a scatter plot of penguin measurements, showing flipper length against bill length, with different species represented by distinct shapes. The visualization loads data from a CSV file fetched from a GitHub Gist and parsed with `d3.csvParse`. The plot uses `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for shape encoding, with marks rendered using `d3.symbol` and the `d3.symbolsFill` range. A legend, built with the `shapeLegend` function, identifies each species by its corresponding shape, and axes are labeled using `d3.axisLeft` and `d3.axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes