Create viewer : Bar chart
The following needs to be done, for improving the first viewer.
-
refactor the code : due to its length, the ConnectedCallback function needs to be segmented in various different functions. This will facilitate testing. Messages should also be displayed when data is missing or an error occured. -
write documentation? edit : comment the code instead -
write tests : try to anticipate unpredictable events.
Edited by Aminata Diall