hey guys i coded this chart with html and css and now i want to link this chart with real data i have this data in an sql table sales and purchases what do you suggest to link this chart with a real data and gives me a result ?
What other languages do you know? Do you know Javascript? Also, you misspelled purchases.
yes js , php and my sql
I’m not sure how the chart works above/ how the bars are being populated. But you could retrieve the data that has the real data from MySql utilizing PHP. Then use the retrieved data to populate the html/css chart.
This is a good bet and you’d use Javascript to programmatically create div’s whose height is determined by the data in your database.
1 Like