2
$\begingroup$

I have data like as shown below

enter image description here

I would like to represent the above tabular data in a visual form.

However, the below graph may not work because my real data as 50K unique drug names.

enter image description here

So, is there any better way to represent this? Can you share some suggestions on how this can be represented?

$\endgroup$

1 Answer 1

2
$\begingroup$

Clearly there's no way to have the names of the drugs.

Assuming the relation between the two columns is important, a scatter plot with units prescribed as X and number of patients as Y might work. You could even add the name of the drug for a few isolated points. Transparency/opacity can be used to show the dense areas.

In case the relation between the columns is not important, you could just plot the two distributions (histograms) with different colours on the same graph.

$\endgroup$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.