🌍 Public
Viewing a saved revision (read-only)
e98eb40a39154f23bb0131a6f35db8f5
Fork of D3 Starter
This example displays a simple bar chart constructed from a fixed JavaScript array of 25 numeric values. It demonstrates a minimal setup for D3 version 7 by using the d3.select and d3.append functions to create an SVG canvas, then the selectAll and data methods to generate rectangles for each data point. The bars are positioned horizontally with a fixed spacing and height proportional to each value, showing basic data binding and SVG rendering without any interaction or animation.
AI-generated descriptionA demonstration of how to start using D3 version 6.