Creating D3 Visualizations on Google Colab

Gary Sharpe
7 min readMar 14, 2022
Line Chart (Quote Inspector) and NY Taxi Pic (ahundt)

Introduction

This is not meant as a detailed introduction to D3.js itself, but as a quick (but clean) start creating Line Charts using D3 on Google Colab’s hosted Jupyter Notebooks.

For an introduction to D3 itself, including the underpinning web standards (HTML, SVG, CSS and JavaScript), I suggest either of the articles, textbooks & tutorials below:

Articles

Books

Tutorials

What is this article about?

This is simply a brief introduction to creating Line Charts using D3 in Google Colab, along with some helpful tips for how to develop D3 in Colab in general. These examples apply almost one-for-one with what you can do in most any environment with Jupyter Notebooks.

Getting Started

--

--

Gary Sharpe

I build back-end systems for moving, munging and synchronizing data from one end of the enterprise to the other.