Biology10 min read

Biology Data Visualization: From Western Blots to Dose-Response Curves

By Francesco Villasmunta
Biology Data Visualization: From Western Blots to Dose-Response Curves

Biology is messy. Unlike physics or chemistry where laws are often absolute, biological data is full of noise, variability, and outliers. If you've ever stared at a Western blot wondering how to turn it into a convincing bar chart, or spent hours trying to fit a dose-response curve that just won't cooperate—you're not alone.

Visualizing biological data effectively means finding the signal in the noise without misrepresenting the underlying variability. Whether you're a molecular biologist, ecologist, or neuroscientist, this guide covers the essential plot types you need for your next paper.

📋 What You'll Learn

  • • How to create publication-ready dose-response curves
  • • Kaplan-Meier survival analysis best practices
  • • Western blot quantification that reviewers love
  • • Gene expression heatmaps with proper color scales

1. Dose-Response Curves (IC50/EC50)

Pharmacology and biochemistry rely heavily on dose-response curves. The key is fitting a 4-parameter logistic (4PL) or Hill equation to your data—but getting the fit right can be frustrating.

✅ Best Practice: Log-Scale X-Axis

Always plot concentration on a logarithmic scale (X-axis) to see the sigmoidal shape clearly. Ensure your error bars (SEM or SD) are visible at each concentration point.

Prompt: "Create a dose-response curve of Drug Concentration vs Cell Viability. Use a log scale for the X-axis and fit a sigmoidal curve to calculate IC50."
Try this with Plotivy →

2. Survival Analysis (Kaplan-Meier)

For clinical trials or animal studies, Kaplan-Meier plots are the gold standard. They show the probability of survival (or any event) over time, and reviewers expect them to follow specific conventions.

🔑 Key Elements Reviewers Look For

  • Censored Data: Mark censored subjects (those who left the study or didn't experience the event) with tick marks on the curve.
  • P-value: Include the Log-rank test p-value directly on the plot—don't make reviewers hunt for it.
  • Risk Table: Align a "Number at Risk" table below the X-axis to show sample sizes at each time point.

3. Western Blot Quantification

"Representative images" are great, but quantification is what convinces reviewers. The problem? Bar charts hide too much information when sample sizes are small (n < 10).

✅ Best Practice: Dot Plots with Error Bars

Overlay individual data points on top of your summary statistics (mean ± SEM). This shows the reader exactly how many replicates you ran and the spread of the data—which is increasingly required by top journals.

Try plotting Western Blot data →

4. Heatmaps for Gene Expression

When dealing with RNA-seq or microarray data, heatmaps are essential for visualizing clusters of up-regulated and down-regulated genes. But color choice can make or break your figure.

🎨 Color Choice Matters

Avoid the red-green color scale—about 8% of men are colorblind and cannot distinguish between them. Use a diverging Blue-White-Red or Purple-White-Orange scale instead.

Pro tip: Many journals now require colorblind-accessible figures. Using the right palette from the start saves revision headaches.

Chart gallery

Ready-to-use chart recipes for biology

Jump straight into publication-ready plots pulled from the gallery—each card links to the full chart type and prewritten prompt so you can generate it in one click.

Browse all chart types →
Box and whisker plot comparing gene expression across 4 genotypes with significance brackets
Distributionseaborn, matplotlib
From the chart galleryComparing experimental groups in scientific research

Box and Whisker Plot

Displays data distribution using quartiles, median, and outliers in a standardized format.

Sample code / prompt

Create a publication-ready box plot comparing 'Gene Expression Levels' (normalized counts) across 4 genotypes: WT (Wild Type), KO1 (Knockout 1), KO2 (Knockout 2), and Mutant. Generate a realistic dataset with n=20 biological replicates per group, with KO1 showing upregulation (~1.5x WT), KO2 showing downregulation (~0.8x WT), and Mutant showing moderate increase (~1.2x WT). Overlay jittered individual data points with transparency. Perform pairwise t-tests against WT control and add significance brackets with stars (* p<0.05, ** p<0.01, *** p<0.001, ns for non-significant). Use a colorblind-friendly palette, add y-axis label with units, and include sample size (n=) in x-axis labels.
Violin plot comparing score distributions across 3 groups with inner box plots
Distributionseaborn, matplotlib
From the chart galleryComparing treatment effects across groups

Violin Plot

Combines box plots with kernel density to show distribution shape across groups.

Sample code / prompt

Create a violin plot comparing 'Exam Scores' across 3 treatment groups: Control, Treatment A, and Treatment B. Generate realistic educational data with 50 students per group. Control: mean=72, sd=12 (normal). Treatment A: mean=78, sd=10 (slight improvement). Treatment B: mean=82, sd=8 (significant improvement, less variance). Include embedded box plots showing quartiles, median line, and mean diamond marker. Add individual data points as a strip plot with jitter (alpha=0.3). Perform and annotate ANOVA p-value. Use distinct colors for each group. Add horizontal reference line at passing score (70). Title: 'Effect of Study Interventions on Exam Performance'.
Correlation heatmap with diverging color scale and coefficient annotations
Statisticalseaborn, matplotlib
From the chart galleryCorrelation analysis between variables

Heatmap

Represents data values as colors in a two-dimensional matrix format.

Sample code / prompt

Create a heatmap showing the correlation matrix for 8 financial metrics: 'Revenue', 'Profit', 'Expenses', 'ROI', 'Customer Count', 'Avg Order Value', 'Marketing Spend', 'Employee Count'. Generate realistic correlation data where logically related metrics are positively correlated (Revenue-Profit: 0.85, Marketing-Revenue: 0.72) and others have weak or negative correlations (Expenses-Profit: -0.45). Use a diverging RdBu colorscale centered at zero (-1 to +1 range). Display correlation coefficients inside each cell with 2 decimal places. Mask the upper triangle to avoid redundancy. Add clear axis labels, a color bar, and title 'Financial Metrics Correlation Matrix'.

Common Biology Visualization Mistakes

After reviewing hundreds of biology papers, these mistakes show up again and again:

  • Using Bar Charts for Paired Data: If you measured the same subject before and after treatment, use a paired line plot (slopegraph) instead of two bars. It shows the effect size much more clearly.
  • Hiding N: Always state the number of biological replicates (n) in the figure legend. Reviewers will ask for it if it's missing—and they'll be annoyed.
  • Over-smoothing: Don't smooth your line plots unless you have a mathematical model justifying it. Connect points with straight lines for time-series data.

Automate Your Lab Notebook

Plotivy generates reproducible code for every figure. This is crucial for "Methods" sections where you need to describe exactly how data was analyzed. No more "we used GraphPad to..." vagueness.

Ready to Create Publication-Quality Biology Figures?

Stop wrestling with Excel or GraphPad. Describe what you want in plain English, and get a Nature-ready figure in seconds.

Start Plotting for Free →

Start Analyzing Today

You don't need to be a data scientist to analyze data like one. Try Plotivy and turn your data into insights in minutes.

Get Started for Free →
Tags:#biology#dose-response#western blot#survival analysis#IC50#Kaplan-Meier