the data comes from Here, for this assignment, I used pandas for reading in data, and Altair for visualizing them. For the first graph, I was trying to find a pattern about the stop time, by counting the number of records. Therefore, I created a bar graph, the x-axis is the stop time, and the y-axis is the count of records, to show how long does the stop time usually maintain.
For the improvement graph, I added the color scheme to represent the relationship between stop time and gender, to see if there have a clear pattern. In the scatter plot chart, both the x and y-axis start at 0. Also added the title of the graph for better understanding.
I added the interactive histogram plot to allow users to click on a specific bar, scroll on the bar chart to show the detailed relation or comparison of sex and race on the bubble graph. The size represents how many counts in the record. Also, I added the tooltips for both graphs so that people can gather precise and more info beyond the label. Also added titles to both graph for better understanding.