Export Image
Export Code

Refactored Bar Chart

John Patrick Banas

Last edited Sep 11, 2021
Created on Sep 11, 2021

A program that loads in some data about CSS colors using D3 utilities, and uses React state to keep track of the data. This particular fork has been modularized to create seperate modules for the X-Axis (AxisBottom.js) and the Y-Axis (AxisLeft.js), as well as the bars for the barchart (Marks.js). The data being rendered is also moved to its own file (useData.js) which is a customized useHook instantiation.

MIT Licensed