Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bowl of apples

Public visualization

Viewing a saved revision (read-only)

9338343e12da4a6ca8085767ed7c6d9d

bowl of apples

0 stars0🌍 Public
Aakshayms0
Last edited Oct 27, 2022
Created on Oct 27, 2022
Forked from HTML Starter

A bowl of apples initially displays five red apples, animated through a sequence of data updates: one apple is removed, another becomes a lemon, and a third is filtered out. The visualization uses D3.js v7 with SVG rendering, binding fruit objects to group elements via `selectAll` and data joins. A `scaleOrdinal` maps fruit types to colors and radii, while `transition`-less updates immediately reflect state changes. The React framework is absent from the core logic, as the code directly manipulates the DOM through D3 selections.

AI-generated description

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

See also React Starter.