Data Visualization

D3 – JavaScript library for bespoke data visualization

D3 (or D3.js) is a JavaScript library for visualizing data.

Its low-level approach built on web standards offers unparalleled flexibility in authoring dynamic, data-driven graphics. For more than a decade D3 has powered groundbreaking and award-winning visualizations, become a foundational building block of higher-level chart libraries, and fostered a vibrant community of data practitioners around the world.

D3 is not a charting library in the traditional sense. It has no concept of “charts”. When you visualize data with D3, you compose a variety of primitives.

To make a stacked area chart, you might use

  • a CSV parser to load data,
  • a time scale for horizontal position (x),
  • a linear scale for vertical position (y),
  • an ordinal scale and categorical scheme for color,
  • a stack layout for arranging values,
  • an area shape with a linear curve for generating SVG path data,
  • axes for documenting the position encodings, and
  • selections for creating SVG elements.

Features include:

  • Low-level toolbox.
  • Flexibility – has no overarching “chart” abstraction, even a basic chart may require a few dozen lines of code.
  • Works with the web – doesn’t introduce a new graphical representation; instead, you use D3 directly with web standards such as SVG and Canvas.
  • Bespoke visualization.
  • Dynamic visualization – data join: given a set of data and a set of DOM elements, the data join allows you to apply separate operations for entering, updating, and exiting elements.

Website: d3js.org
Support: GitHub Code Repository
Developer: Mike Bostock
License: ISC License

D3 is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted