Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Apple Quality First Viz

Public visualization

Viewing a saved revision (read-only)

09e67e2a7eb245ae8cecbe1ba9f9823d

Apple Quality First Viz

0 stars1🌍 Public
Llrsavoie@wpi.edu
Last edited Jan 31, 2024
Created on Jan 30, 2024

This example creates a scatter plot to visualize the Apple Quality Dataset, plotting each apple's weight on the x-axis and its size on the y-axis. The code uses D3's `scaleLinear`, `axisBottom`, and `axisLeft` functions to construct the chart, with points rendered as semi-transparent circles. The data is sourced from the `@lukesavoie/applequalitydata` library, and the visualization is built dynamically to fit the container's dimensions. The chart is designed to be easily forked and modified for other datasets.

AI-generated description

A simple scatter plot with D3 showing the Apple Quality Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data