Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
KKoundinya
Last edited Dec 28, 2021
Created on Dec 28, 2021
Forked from 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 description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed