Drug Vs Rating
✓ Published0🌍 Public
The visualization is a scatterplot showing the relationship between drug names, their useful count, and user ratings. Each circle represents a drug, colored by its rating value (from 0 to 10). The x-axis shows drug names, the y-axis displays usefulCount, and tooltips reveal the condition being treated. The code uses vega-lite-api to construct the chart, with data loaded via d3.csv from a GitHub-hosted CSV file. Circles use `markCircle` with opacity and size settings, and color encodes the rating field, while axes are configured through the custom config.js.
AI-generated descriptionDrug Comment Ratings Dataset
MIT Licensed