Scatterplot with Iris Data
✓ Published0🌍 Public
This scatterplot visualizes the classic Iris dataset, plotting sepal length and width as circular SVG marks. The chart uses D3 v7 scales and axes to map the data, with styled tick marks and axis labels for readability. Built as a React application, the visualization is rendered through D3’s selection and data-join methods, while a separate ES6 module supplies a message displayed via `select('#message').text()`. The layout includes a fixed viewport with a hidden overflow, and the axis and mark colors are defined in embedded CSS.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed