Skip main navigation

D3BarChart code1

D3.js implements bar charts by binding batch data (arrays) to DOM elements.

D3.js implements bar charts by binding batch data (arrays) to DOM elements. While it appears to avoid explicit loops, it actually leverages array-driven rendering under the hood. This data-centric approach is why it’s named D3: Data-Driven Documents.

This article is from the free online

Data Visualisation

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now