🌍 Public
Viewing a saved revision (read-only)
d8f2d88cf4aa4242b1cbaaab02f225be
Rendering marks and channels with D3.js and SVG
Ddivyagunuguntla
Last edited Mar 3, 2022
Created on Mar 3, 2022
This example displays a bar chart of store data, showing the relationship between store size and type. Written in React, the visualization uses D3.js to load CSV data from a remote URL, then maps the data to SVG rectangles using `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with axis ticks and labels generated via `xScale.ticks()`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.