S
S
SashaN692021-01-28 20:29:57
Django
SashaN69, 2021-01-28 20:29:57

Django and charts?

I have a table in the database where the entire amount of payments for the day and the date are stored in the format 01/28/2021 and I need to somehow make a simple chart to compare sales amounts, let's say for 7 days.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-01-28
@SashaN69

1. Make a regular html table
2. Master Plotly (possibly Dash)
3. Generate on the client, take any js library, for example Chart.js, django provides data, js generates a chart on the client.
4. Generate on the server, take matplotlib or similar.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question