Skip to main content

Introduction to D3.js

Introduction

Setting Up

The <script> tag used to download the latest release can be found on the D3 Homepage

WebStorm from Jetbrains is my personal choice for JS development. Visual Studio Code from Microsoft is also very popular.

It is also helpful to have a simple HTTP Server to run html. Python has a built-in http server, so if you have python it's an easy option with no additional packages needed. In the terminal go the directory where the files you want to host are and run:

python -m http.server 9000

Understanding the SVG