Skip to main content
100%

Apple Quality First Viz

✓ Published1🌍 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
MIT Licensed

Similar vizzes