Serverless (runs in local browser only) app to build a downloadable SVG pie chart
Visit site at: https://trophygeek.github.io/svgpiechart↗
![image](https://private-user-images.githubusercontent.com/522197/282080797-e6edbfb7-f693-4acd-b8d8-95d33b8a73ce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0OTQ0NzQsIm5iZiI6MTcxODQ5NDE3NCwicGF0aCI6Ii81MjIxOTcvMjgyMDgwNzk3LWU2ZWRiZmI3LWY2OTMtNGFjZC1iOGQ4LTk1ZDMzYjhhNzNjZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxNVQyMzI5MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZDk5N2IyMmUxMmQ5N2E3MzQyOTUwZWQyMTcyMjk2YzVkZDZlMmYzOWVjOWUyZmZiNTY4NjhhYTE3NTRkYjljJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.kWZt67rzLK90NBoiZXXCgj4Nx_jzM9JlAyxi5wH7esk)
- Each "slice" has inner and outer text.
- Data auto-saves into browser's localstorage, BUT you should download save data to restore it later or to share it with others.
- Drag and drop slices to reorder.
- Github action to build and deploy React site
Code show how to:
- Use React input interactively with an SVG graphics component
- Save an .svg file locally that was generated in javascrit without needing a server
- rotate and center text in svg
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.