Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
NNikhilchiguru-8
Last edited Mar 8, 2023
Created on Mar 8, 2023
This example visualizes the average software developer rent in US metros using a bar chart rendered with React and D3 v5. The chart displays 15 metro areas from a CSV dataset, mapping metro names to the y-axis and average rent values to the x-axis via d3.scaleBand and d3.scaleLinear. React manages the component state and SVG rendering, while D3 handles data loading with d3.csv, scales, and axis ticks. The code manually creates gridlines and tick labels using React JSX, avoiding d3.axisBottom or d3.axisLeft.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed