Word Sentiment Distribution
✓ Published1🌍 Public
This visualization displays the sentiment distribution of words from a Russia-Ukraine Twitter dataset, using a stacked horizontal bar chart segmented into negative, positive, and neutral categories. The bar’s segments are scaled proportionally to each sentiment’s percentage, labeled with their exact values. Built with D3.js v7, it loads CSV data from a remote repository, maps sentiment colors via `d3.scaleOrdinal`, and positions rectangles using `d3.scaleLinear`. The chart includes an SVG-based legend generated with the d3-legend library and custom axes.
AI-generated descriptionMIT Licensed