shown
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

shown

Version License Test Coverage

Statically-generated, responsive charts, without the need for client-side Javascript.

npm install shown

Read the docs here.


shown generates simple HTML and SVG charts. The library works with static-site generators (SSG), or in server-side rendering (SSR) contexts to create self-contained, embeddable chart documents. It aims to fill a gap between unresponsive images and complex data visualization tools.

The library offers a high-level API to generate charts, providing good results with minimal configuration. When more flexibility is required, expressive data mapping allows for fine-grained control. Plug and play data from different sources, mapping values as you need them.

Charts adapt to different screen-sizes without any need for client-side JavaScript. Charts will expand and contract to fill their containers without affecting font size, so text remains legible across viewports.

Charts render without client-side JavaScript, reducing bundle sizes and improving performance by avoiding expensive recalculations when a container resizes.

Package Sidebar

Install

npm i shown

Weekly Downloads

11

Version

1.2.3

License

MIT

Unpacked Size

144 kB

Total Files

36

Last publish

Collaborators

  • s-ings