项目作者: islamCodehood
项目描述 :
A Chart Dashboard consists of 16 Charts and developed by React js, crossfilter2, and Victory js.
高级语言: JavaScript
项目地址: git://github.com/islamCodehood/analyze.git
Analyze
Contents:
Description
- Analyze is a Chart Dashboard consists of 10 Charts and developed by React js.
- It represents a data set of 2000 records.
- The data is imported from a JSON file.
- The app can be used to represent, filter data by different dimensions.
- Dimensions used are:
- Payment Method.
- Delivery Area.
- Order Amount.
- Branch.
- Order Date.
- Types of Charts used to represent data are:
- Pie Chart.
- Bar Chart.
- Line Chart(Time Series Chart).
- The app gives user the ability to either reset individual dimension, or reset all dimensions.
App URL
React App Hierarchy
├── <App ></App>
├── <OrderCountCharts ></OrderCountCharts>
|
|
├──<RevenueCharts ></RevenueCharts>
|
|
└──<TimeSeriesCharts ></TimeSeriesCharts>
Dependencies
- crossfilter2: An extension of crossfilter. It overcomes the limit of array width of more than 32. This drawback appears with multiple filtration of different dimensions.
- victory js: A collection of composable React components for building interactive data visualizations
- prop-types.
Installation
You can either:
- Visit the App web page./ Or
- Download a compressed version from here. Then:
- Decompress the app.
- In your terminale locate the app directory and run
npm install
.
- To run development mood:
- After finishing run
npm start
. - A browser tab will open at a localhost port 3000.
- To run production mood:
- run
npm run build
. - Then to serve it with a static server run
npm install -g serve
. - Then run
serve -s build
.
How To Use
- Filter Data through each of the methods below:
- Filter through pie charts by clicking on individual slices.
- Filter through bar chart of Branches, or Delivery area dimensions by clicking on individual bars.
- Filter through other bar charts, by brushing through charts. You can drar, or resize brush to filter dimension, and also you can click on the chart to select all dimension.
- Filter through line charts (Time series charts) by brushing through charts.
- Reset all filtration by clicking any of Reset All button.