Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars1🌍 Public
AAnton Vasilev
Last edited Jun 20, 2019
Created on Jun 20, 2019
Forked from Making a Bar Chart

Five apples render as red circles in an SVG, demonstrating how React components build visualizations from data arrays. The example uses a d3.scaleOrdinal for color and radius mapping, while d3.range generates the initial dataset. Though the FruitBowl component references a selectedFruit variable, no interaction is yet wired, leaving the visualization static. React handles the SVG circle rendering, with d3 providing the scale functions for this simple, non-bar chart illustration.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed