Skip to main content
100%

React Starter

✓ Published0🌍 Public
TTrustPaul
Last edited Nov 12, 2020
Created on Nov 12, 2020
Forked from React Starter

This example shows a simple bar chart built with React and D3, displaying a collection of six static values as blue rectangles. The SVG bars are appended to the body using D3’s `selectAll` and `data` joins, with each rectangle’s width derived from the array element and its vertical position calculated from the index. While the code includes a CSV-driven React starter scaffold, the visible chart renders from the hardcoded `data` array, not the external file. React’s root element remains unused for the visualization itself.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes