Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ssahithya.voleti@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from HTML Starter

This scatter plot maps fruit dimensions, plotting width on the x-axis and height on the y-axis, with each point’s shape encoding the fruit type via a categorical legend. The visualization uses D3.js v7, employing `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` to assign shapes, and `symbol()` to generate the marks. Data is loaded from a remote CSV file containing fruit measurements, fetched asynchronously and parsed with `csvParse`. Axes and labels are drawn using `axisLeft` and `axisBottom`, while the legend is constructed manually with positioned shape glyphs.

AI-generated description
MIT Licensed

Similar vizzes