Skip to main content
100%

activity8tutorial3.1

✓ Published0🌍 Public
BBindumadhavi
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example shows a scatter plot of the Iris dataset, mapping sepal length to petal length and encoding species using different shapes via d3.symbol and a custom shape legend. The visualization loads the CSV data with d3.csvParse, updates the chart asynchronously through a state-based render pattern, and relies on d3.scaleLinear for axes positioning with d3.axisLeft and d3.axisBottom. Axes labels are generated manually, while the legend is built with d3.scaleOrdinal and symbolsFill, all within a scalable SVG that fills the viewport.

AI-generated description
MIT Licensed

Similar vizzes