Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot Arun

Public visualization

Scatter Plot Arun

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed