Adamouization/Corona-Virus-Insights-Dashboard

Chart automatic scaling

Closed this issue · 0 comments

For now, widths for the SVG elements holding the charts are hardcoded: tried to dynamically adapt to screen size by using document.getElementById("id");, but the DOM has not loaded at this point in the node js code.

--> Find an alternative or get document.getElementById("id"); to work.

This will make website fully mobile friendly (Currently, everything is mobile friendly, the cards move accordingly to screen size, but the charts in the cards don't adapt)