Create Group Bar Chart Command. Create a new File BarChart.scala. This file utilizes different methods from the other commands as it needs group markings. Changed plot utilized to implement these changes and made a new function for the use case of categorical data. Create an aggregation function to sum the y-axis. Add changes to VegaChart to include the Mark types with VegaMark. Make sorting conditionals for the x-axis if the user wants the x-axis sorted.
Create Group Bar Chart Command. Create a new File BarChart.scala. This file utilizes different methods from the other commands as it needs group markings. Changed plot utilized to implement these changes and made a new function for the use case of categorical data. Create an aggregation function to sum the y-axis. Add changes to VegaChart to include the Mark types with VegaMark. Make sorting conditionals for the x-axis if the user wants the x-axis sorted.