@jerrythomas/svelte-charts

1.0.0-beta.1 • Public • Published

D3 Charts for Svelte

The core idea behind the implementation is to use the respective strengths of both D3 and Svelte to build Themable, Composable, Animated, Responsive, Accessible and Reactive Data Visualization.

  • D3 is a wonderful library for working with SVG that provides large set of utility functions for graph visualization that includes the computation of scales, interpolation, shapes, and more.
  • Svelte is an awesome javascript framework to build user interfaces. Svelte provides modularization, interactivity, reactivity, and responsiveness.

This component library has been heavily inspired by the following works, and borrows concepts from them.

Getting Started

Get started quickly using degit.

degit jerrythomas/svelte-charts/examples/graphs my-app

Features

  • [x] Fill patterns
  • [x] Symbols
  • [x] Colors
  • [ ] Themes

Plots

  • [ ] Box
  • [ ] Violin
  • [ ] Scatter
  • [ ] Line
  • [ ] Histogram
  • [ ] StackedBar

All plots are vertical for now.

Chart

  • [x] Axis
  • [x] Grid
  • [ ] Margins
  • [ ] Legend
  • [ ] Composable
  • [ ] Combine multiple plots
  • [ ] Animation
  • [ ] Time lapse
    • [ ] Sliding window
    • [ ] Rolling window

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i @jerrythomas/svelte-charts

    Weekly Downloads

    0

    Version

    1.0.0-beta.1

    License

    MIT

    Unpacked Size

    73 kB

    Total Files

    48

    Last publish

    Collaborators

    • jerrythomas