Declarative charts and visualizations for Vue.js.
vue-vis is a reusable charting library for Vue.js utilizing the best parts of d3.js but simplifying the development of reusable charts and other visualizations with just a few lines. vue-vis is heavily inspired by great projects like Recharts and the earliest declarative charting libraries of days forgotten.
This is not ready for prime time. Its currently experimental with only a simple BarChart example replicated from one of Bostock's examples.
<SvgContainer :width="960" :height="500">
<BarChart :width="960"
:height="500"
:margin="{top: 20, right: 20, bottom: 30, left: 40}"
:data="data">
<XAxis dataKey="name" type="band" :padding="0.1" :transform="`translate(0,`+450+`)`"></XAxis>
<YAxis dataKey="value" tickFormat=".0%" ></YAxis>
</BarChart>
</SvgContainer>SvgContainerBarChartXAxisYAxis- Build this as an actual NPM module
- LineChart
- AreaChart
- PieChart
- ScatterPlot
- Many more...
# serve with hot reload at localhost:8080
docker-compose up# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report