Annotating Bitcoin Data with D3.js and Enigma Public

The annotation layer is the most important thing we do... otherwise it's a case of here it is, you go figure it out.Amanda Cox, New York Times Graphics Editor

So, you came across something unusual in Enigma Public, the world’s broadest repository of public data, and want to share the results and process that led to your insights. What’s next?

On the Enigma Data Team, we use a variety of visualization tools to share findings with our users and one another. One such tool is d3-annotation. This open-source plugin for the d3.js visualization library makes this often overlooked process easy and fun.


In this first installment of a blog series on Javascript Data Visualization, I’ll use Observable Notebooks* to showcase two javascript data visualization libraries, using both the Enigma Public and the Coindesk APIs to highlight some key portions of datasets relating to Bitcoin.

Click here to read my tutorial on adding annotations to charts made in D3.js!**

*Never heard of Observable Notebooks before? Read on!

Data scientists and journalists alike love using “notebook”-style tools such as Jupyter (in contrast to plain text editors) for many reasons, including—

  • Ability to present text, code, and graphics side-by-side
  • Ability to run and iterate on code one section at a time through “cells”
  • A better overall coding experience

Observablehq is a free, web-based notebook for data science, founded by a team of folks with roots in the open-source data visualization community (Mike Bostock, Tom MacWright). Unlike Jupyter, readers can view and run Observable notebooks without needing to install anything, making it an ideal tool for sharing reproducible and interactive analyses.

**Safari is not supported


Interested in solving complex, unique problems? We're hiring.