Skip to main content
100%

Drug Vs Rating

✓ Published0🌍 Public
Aaishwarya8615
Last edited Nov 6, 2019
Created on Oct 29, 2019

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 description

Drug Comment Ratings Dataset

MIT Licensed

Similar vizzes