Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyc/dfplot
Summarize a data frame by plotting. `cargo install --git https://github.com/Banyc/dfplot.git`.
https://github.com/banyc/dfplot
csv data-analysis plotly plotting statistics
Last synced: about 8 hours ago
JSON representation
Summarize a data frame by plotting. `cargo install --git https://github.com/Banyc/dfplot.git`.
- Host: GitHub
- URL: https://github.com/banyc/dfplot
- Owner: Banyc
- License: mit
- Created: 2023-12-15T19:55:29.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-22T14:53:12.000Z (6 months ago)
- Last Synced: 2024-05-22T16:11:56.399Z (6 months ago)
- Topics: csv, data-analysis, plotly, plotting, statistics
- Language: Rust
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `dfplot`
Summarize a data frame by plotting.
## Plots for numeral data
### Scatter plot
```csv
g,x,y
a,1,1
a,2,2
a,3,4
a,4,8
b,1,1
b,2,2
b,3,3
b,4,4
``````bash
dfplot scatter data.csv --group g -x x -y y
```### Histogram
```csv
x
1
2
2
3
3
3
4
4
4
4
``````bash
dfplot histogram data.csv -x x
```### Box plot
```csv
y
1
2
2
3
3
3
4
4
4
4
``````bash
dfplot box data.csv -y y
```## Plots for categorical data
### Bar plot
```csv
app_type,homeownership,count
individual,rent,3496
individual,mortgage,3839
individual,own,1170
joint,rent,362
joint,mortgage,950
joint,own,1170
``````bash
# barmode = `group`
dfplot bar data.csv --group app_type -x homeownership -y count
# barmode = `proportion`
dfplot bar data.csv --group app_type -x homeownership -y count --barmode proportion
```