Skip to content

What is Inglorious Charts? ​

@inglorious/charts is a charting package for @inglorious/web.

It focuses on:

  • Declarative chart rendering with SVG
  • Entity-based data flow
  • Event-driven interactions (tooltip, brush)
  • Predictable behavior through pure utilities

Two usage styles ​

Config-first ​

Register Chart for each entity kind in the store (e.g. Line: Chart, Area: Chart) and render entities with api.render(id).

Composition ​

Use the exported Chart helper (Chart.render, Chart.XAxis, Chart.Tooltip, etc.) for finer control.

Both styles can coexist in the same app.

Released under the MIT License.