Aura Pool is a unique platform in the world of NFT (Non-Fungible Token) marketplaces. It is a platform that offers an exclusive opportunity for individuals to invest in hashrate collectibles, and it…
I arrived at a point where I needed some type of dynamic charts in my flask project. I had to make a choice between c3 and chartist and obviously I settled for C3.js due to it’s simplicity and examples in its documentation, which made it simple to implement with python.
Go to the C3 website or github to get started and once you have all the files in place add the paths to index.html page:
inside your HTML, body tag add the following
inside the script tags or JS file add the following
The above creates a timeseries chart based on the columns and uses the date column as the label or X-axis of the chart
Lets create our CSV file
We then create a route in our app.py file that provides the csv file, this csv can be populated dynamically with records from the database or any other source
The final chart
I recently had a conversation with a friend who is on the threshold of a new venture. He has worked hard to achieve the required qualification and experience. He wholeheartedly believes in it, knows…
La paz canaliza la energía que necesitamos para resolver en nuestras vidas los conflictos y las paradojas. Nos ayuda a vivir una vida compatible con nuestras necesidades y deseos, dándonos la…
Jika kamu pernah menggunakan firebase realtime database atau firestore, kemungkinan besar kamu akan terkesima dengan kecepatan perubahan data pada tampilan pengguna dengan latensi yang sangat rendah…