D3 is a fantastic open source library for data visualization developed originally by Mike Bostock. The great variety of tools it offers allow to make rare graphs from scratch or using pre-built templates. The possibilities offered by D3 are unlimited, you only need to have a look at their gallery.

If you have already worked with D3 you will know that apart from getting astonishing graphs you also end up with a bunch of scripts for formatting data, iterating over SVG elements, services to communicate with the server, models, etc… All of these, probably, in the very middle of a project poorly related with the graphs itself, a real mess!

Luckily, the world of Web Components it is more accessible than ever and it is the perfect tool for creating your own graphic hub well encapsulated and reusable. On Custom Elements Everywhere you may check if Web Components are compatible with your preferred development framework.

In this post, you’ll learn How to use D3js with WebComponents

#web-develop #data-visualization #design-systems #d3js #web-components

How to Use D3js with WebComponents
14.50 GEEK