An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
Django Graphs and Charts Argon Dashboard
Hello coders,
This article presents an open-source sample that might help beginners to learn and code a real project using Django as a backend framework. Django Argon Charts sample provides functional code that shows different metrics regarding a 12mo timeframe: total sales, total orders, best sale, and best month (in sales value). Information is provided using charts, widgets, and a paginated data table that allows editing/adding new sales.
Thanks for reading!
- Django Argon Charts - Sample LIVE deployment
- Django Argon Charts - Source Code
- Argon Dashboard Django - the original starter
The information displayed in the charts is loaded from a sample file provided along with the source code on Github. On top of this basic provisioning, authenticated users have the option to edit and add new records. Once the new information is saved, charts are automatically updated. The project can be used by any developer with basic programming knowledge and familiarity with Python.
Whats in the box (app features):
- A beautiful, modern UI: Argon Dashboard (free version)
- Session-based authentication
- Import/Export feature available in the admin section for bulk import of sample data
- Charts for orders and sales for a 12mo timeframe
- Widgets that counts total sales, orders, and best month selected based on the total sales value
- Paginated data table with edit and add new record option
To compile the project and play with the code, please follow the build instructions provided in the README file. The basic flow is to install the required dependencies, create the database and app tables and load the information using the admin section. Once the information is saved in the database, we can use the UI to play with the information and see the LIVE effects in the charts.
Line Chart
Summarize the sales for the last 12mo, initially provisioned by a sample file.
Bar Chart
The visual features are enhanced with a table-based view of the information that allows navigating the database content with ease. The records can be edited and the charts will be refreshed automatically to reflect the latest changes.
From this point, the project can be extended with ease to support more advanced features like adding more relevant charts, compute sales predictions using the sales statistics from the previous year or add a social login to speed up the user registration.
Thanks for reading! For more resources, please access:
- More Django Templates provided by Creative-Tim
- More Django Dashboards provided by AppSeed
Original Link: https://dev.to/sm0ke/django-graphs-and-charts-argon-dashboard-1p0b
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To