Skip to main content
100%

Scatter Plot Arun

✓ Published0🌍 Public
AArun Pratap
Last edited Jul 27, 2023
Created on Jul 27, 2023

This scatter plot visualizes crop production against area for a dataset containing crop information, with each data point colored by crop type. The visualization uses D3 v6's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to render SVG circles on a Cartesian coordinate system. The code loads CSV data from a Gist URL, parses it, and maps production values to the x-axis and area values to the y-axis, with fixed point radius. The chart includes rotated axis labels and custom styling for tick text.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes