Bar Chart with a Diverging Color Scale Using D3
This bar chart visualizes evaluations of communication in a pull request from a large open-source project, showing two metrics—inclusiveness and constructiveness—across a five-point Likert scale from negative to positive. The visualization uses a diverging color scale with d3.schemePiYG to distinguish sentiment categories, while negative responses extend leftward from a central zero point. Data is aggregated from an external dataset into a diverging bar layout using D3 v7 scales and SVG rectangles, with a d3-legend color legend explaining the color encoding. The x-axis uses d3.axisBottom to display counts.
AI-generated descriptionAssignment 6 part B
Bar Chart with a Diverging Color Scale Using D3
Dataset - it is a part of the original dataset from the MAster's Project that I found suitable for this task: it is a evaluation of communication in one specific PR from one of the big open-source projects that I admire.
Questions:
Is this comment inclusive?
Is this comment constructive?
Metric:
- negative
- somewhat negative
- neutral
- somewhat positive
- positive
I had issues with x axis scaling that I couldn't figure out for several days, so I added a simple chart and left some code commented to be able to get back to it a bit later.