Skip to main content
100%

Fork of ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023

This bar chart shows the annual income by profession for the first 15 records from a remote CSV file. The visualization is built with React and D3 v5, rendering SVG marks directly. It uses `d3.csv` to load data, `d3.scaleBand` for the y-axis, `d3.scaleLinear` for the x-axis, and calls `xScale.ticks()` to generate grid lines. The chart is rendered inside a React component via `ReactDOM.render`, with each bar’s width mapped to the `Annualincome` field.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes