Skip to content

Repository files navigation

dune

Monorepo for @suveshmoza/dune-charts.

Pixel-art charts built on Recharts — area, bar, line, pie, radar, and radial, with dithered crest→depth fills and chunky cells.

Docs site: apps/docs (Fumadocs). Package README: packages/dune-charts/README.md.

Example

import { DuneChartProvider, DuneAreaChart } from '@suveshmoza/dune-charts';
import '@suveshmoza/dune-charts/styles.css';

<DuneChartProvider theme="dune">
  <DuneAreaChart data={data} fill="dither" pixel={2}>
    <DuneAreaChart.XAxis dataKey="month" />
    <DuneAreaChart.YAxis />
    <DuneAreaChart.Area dataKey="melange" />
  </DuneAreaChart>
</DuneChartProvider>;

Develop

pnpm install
pnpm build               # build the library
pnpm docs:dev            # docs site (http://localhost:3000)
pnpm dev                 # playground
pnpm test

Layout

About

Pixel-art charts built on Recharts with dithered crest→depth fills and chunky cells.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages