Adding Graphics to a React App with D3 — Scales and Axes

John Au-Yeung
3 min readFeb 4, 2021
Photo by Brett Jordan on Unsplash

D3 lets us add graphics to a front-end web app easily.

Vue is a popular front end web framework.

They work great together. In this article, we’ll look at how to add graphics to a Vue app with D3.

Scales

We can use the scales API to transform data.

--

--