# mpld3/mpld3

An interactive data visualization tool which brings matplotlib graphics to the browser using D3.

Repository: https://github.com/mpld3/mpld3
Canonical: https://ross.abutalabs.com/products/mpld3
Homepage: http://mpld3.github.io
Language: Jupyter Notebook
License: BSD-3-Clause
License Family: permissive
Last push: 2026-01-02T01:42:47+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 35, longevity 100
- inputs: {"age_days": 4642, "days_push": 244, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2413, forks 364 (observed 2026-08-28T04:06:44.549503+00:00)

## What it is
A Python library that converts matplotlib figures into interactive D3.js-based visualizations rendered in the browser as HTML. It exports plot JSON via a bundled JavaScript library and supports Jupyter notebook integration and plugins.

## Use cases
- make matplotlib charts interactive in the browser
- export matplotlib figures to HTML for a blog
- display interactive plots in Jupyter notebooks
- add zoom and tooltips to matplotlib plots
- convert python plots to D3 visualizations

## When to choose
- you already have matplotlib figures and want browser interactivity without rewriting them
- you want lightweight HTML/JSON chart export for web pages or notebooks

## When to avoid
- you need actively maintained support for the latest matplotlib versions
- you need high-performance rendering of very large datasets
- you want full D3 flexibility rather than matplotlib-style charts

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts, serialization
- domain: data-visualization, web-development, data-science
- platform: python, browser
- tags: matplotlib, d3js, interactive-plots, jupyter, html-export, web-server

## Member repositories
- mpld3/mpld3 (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.549503+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:56.201180+00:00, confidence not recorded.
  - readme: https://github.com/mpld3/mpld3 (fetched 2026-08-28T04:06:44.549503+00:00, sha 9d0722c7043b)
  - homepage: http://mpld3.github.io (fetched 2026-08-29T10:13:57.170829+00:00, sha 3d3545cdfe2d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
