Scatterplot (Canvas)
✓ Published0🌍 Public
GGerHobbelt
Last edited Sep 10, 2012
Created on Jul 30, 2012
This interactive scatterplot displays nutritional data for various foods as colored dots on a canvas. Users can switch the X and Y axes via dropdown menus to explore relationships between nutrients such as protein, calcium, sodium, and calories. Built with D3.js v2 and rendered on an HTML5 canvas, it uses Underscore.js for data handling and updates the visualization dynamically without page reloads. Hovering over a point reveals the food name in a dedicated readout. The example shows how D3 can drive canvas-based scatterplots with axis controls and linked tooltips.
AI-generated description