© Tarek Amr and Rayna Stamboliyska 2016

Tarek Amr and Rayna Stamboliyska, Practical D3.js, 10.1007/978-1-4842-1928-7_5

5. Getting Started with D3

Tarek Amr and Rayna Stamboliyska2

(1)Amsterdam, The Netherlands

(2)Issy-les-Moulineaux, Paris, France

This chapter introduces you to D3 and some of its underlying technologies and standards, such as JavaScript and SVG. You will start by creating basic shapes using SVG, then see how D3 can help you make this process easier and more flexible.

A Note on SVG

SVG (Scalable Vector Graphics) is a vector image format developed by the World Wide Web Consortium (W3C) in 1999. The SVG standard allows you to include shapes like circles, squares, and arbitrary polygons in your web pages.

Unlike raster images, where everything ...

Get Practical D3.js now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.