Close

vertical bar chart

This is an example of a web form with a bar chart layout, designed using CSS, HTML, jQuery, and bootstrap 4 framework. Chartjs library has been imported to implement the bar chart along with bootstrap styles. JavaScript has been used to apply filters to the chart. The chart bars: Africa, Asia, and Europe are assigned the colors #458af7, #8e5ea2, and #3cba9f, respectively. Media queries have been used to make the form responsive. The body of the form is given a background color of #f9f9fa. The form is given a flex styles of 1, and a padding of 5rem, whereas the chart card has been given the styles of background as #fff, border-radius as .25rem, box-shadow as 0 1px 3px rgba(0, 0, 0, .05), border as 1px solid rgba(19, 24, 44, .125) and the margin-bottom as 1.5rem. The card header is given the styles of padding as .75rem 1.25rem, background-color as rgba(19, 24, 44, .03), and, border-bottom: 1px solid rgba(19, 24, 44, .125), whereas the card footer is given a border-color of rgba(160, 175, 185, .15). Media queries have been used to make the form responsive.