Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart Example

Public visualization

Bar Chart Example

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed