ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Kkarumanchimanasa
Last edited Mar 8, 2023
Created on Mar 7, 2023
The visualization shows the average house prices for fifteen U.S. cities, rendered as a horizontal bar chart using React and D3.js. It loads comma-separated data from a GitHub Gist, maps each city to a band scale on the y-axis, and linearly scales the price to the x-axis. The SVG output uses React DOM elements to draw the tick marks, axis labels, and price bars. The code leverages `d3.csv`, `d3.scaleBand`, and `d3.scaleLinear` to fetch and transform the data.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed