Skip to main content
100%

Fork of Reusable D3 Scatter Plot Tarun_b

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

This interactive scatter plot visualizes fruit data loaded from a CSV file, plotting Weight against Sweetness. The visualization is built using a reusable chart module within the D3 v7 framework. The `scatterPlot.js` module defines a custom function that employs `scaleLinear` for axes, `axisLeft` and `axisBottom` for axis rendering, and SVG elements for the plot. Data is fetched and parsed asynchronously with `d3.csv`, and the chart dimensions are set to fill the browser window. The points are rendered as steelblue circles with a fixed radius, demonstrating a clean, minimal design.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes