Skip to main content
100%

Bar Chart Example

✓ Published0🌍 Public
VVamshi Amudala
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from D3 Starter

This example demonstrates a basic bar chart built with D3 version 6. It visualizes a small dataset of four categorical values using an SVG container. The code creates an SVG, applies d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis, then renders steelblue rectangles for each data point. It also appends axes with d3.axisBottom and d3.axisLeft.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes