Skip to content

Add chart visualization support for pie, bar, and line charts#41

Open
amaljose01 wants to merge 1 commit into
vividvilla:masterfrom
amaljose01:feature/add-chart-visualization
Open

Add chart visualization support for pie, bar, and line charts#41
amaljose01 wants to merge 1 commit into
vividvilla:masterfrom
amaljose01:feature/add-chart-visualization

Conversation

@amaljose01

Copy link
Copy Markdown

No description provided.

@amaljose01

Copy link
Copy Markdown
Author

Hey! I added chart visualization to csvtotable because I thought it would be really useful to see the data visually alongside the table.

The feature lets you generate pie, bar, and line charts right in the HTML output. You can either specify exactly what charts you want with command line flags, or use --auto-charts to let it figure out what makes sense based on your data.

I have included:

A new charts module that handles all the chart generation
Chart.js library for rendering (it's pretty lightweight and works offline)
CLI options for customizing charts
Some sample CSV files to test with
Documentation with examples
It's fully backwards compatible - if you don't use the chart options, everything works exactly like before.

I have used this import in many of my projects, was thinking about adding charts for sometime, if you find this is OK, pls include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant