Skip to main content
100%

ICE7-Reusable D3 Scatter Plot

✓ Published0🌍 Public
DDeepa-Murugesan
Last edited Mar 13, 2023
Created on Mar 12, 2023

This example visualizes the Iris Dataset with a reusable D3 scatter plot, mapping petal width against sepal length and encoding species using distinct D3 symbols. Built with D3 v6, it uses `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol` to generate SVG marks. The chart is fully responsive, sizing to the window, and implements a reusable chart pattern with configurable accessor functions for x, y, and symbol values, plus margin and symbol size settings.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes