Skip to main content
100%

Iris

✓ Published0🌍 Public
TTarun Kumar Bosupally
Last edited Mar 21, 2024
Created on Mar 21, 2024

This example visualizes the classic Iris dataset, plotting sepal length against sepal width as a scatter plot. Each circle represents a single iris flower, with the chart designed to reveal the distribution and clustering of measurements across species. The visualization is built using React for component structure and D3.js v7 for the SVG rendering and axis generation. The data is loaded asynchronously from a CSV file hosted online, with d3.csv fetching and parsing the raw values. Axes are created using d3.axisBottom and d3.axisLeft, while the plot area is scaled with d3.scaleLinear. The appearance follows a custom configuration that sets dark text and light grid lines for readability.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes