Enhance results display
name: Enhance result's display
about: Enhancing the display of the results section
title: "[Enhance result's display]"
labels: new-feature
assignees: ""
Describe the purpose Currently, the results section displays only the winner of the election, and that too just the name. It would be better if a proper analytics of the election is displayed in the same section using graphs. This will enhance the user experience and provide with more details of the election, and make the UI more appealing.
Possible Implementation
The recharts
package can be used to generate the different bar graphs. Since candidates
array in the Election.sol
is a public variable, it can be accessed using a get method and, and the response from this method can be used to feed the data of the candidates in those bar graphs.
Edited by Kailash Kejriwal