AiTeky Original Interactive Learning & Practice Beginner
Charts with ggplot2: clear pictures from data in R
Build charts layer by layer with ggplot2: scatter plots, bars, histograms, box plots, lines, colour, small multiples, scales and themes, then a sales chart pack, a misleading chart fixed and a used-car price chart.
ggplot2 is the most used charting tool in R, and one of the best in any language. Research papers, drug trial
reports, news graphics and company dashboards are made with it. Once you learn its one idea, every chart is built
the same way: data, then what goes where (the aesthetics), then what shape to draw (the geom), added
layer by layer with +.
You need R basics and the first two lessons of the tidyverse course. Every box runs R in your browser and draws its chart below the code.
We use Pune flat rents, a hospital's waiting times, an electronics chain's sales, metro riders and used-car prices.
- Learn lessons explain one idea at a time, with small exercises you can try again and again.
- Industry ready lessons give you real files, real questions and the interview questions that go with them.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 25 min Free sample π AiTeky Pass Your first ggplot: data, aesthetics and a geom Make a scatter plot with ggplot(), aes() and geom_point(), map a column to colour, add a title and axis names with labs(), and learn the three-part grammar every ggplot2 chart uses.
- 02 30 min π AiTeky Pass Bars, histograms and box plots Count things with geom_bar(), show totals you worked out with geom_col(), see a distribution with geom_histogram(), and compare groups with geom_boxplot(), choosing the right chart for each question.
- 03 30 min π AiTeky Pass Lines over time, trend lines and small multiples Draw a line chart over dates with geom_line(), add a trend with geom_smooth(), split one busy chart into small panels with facet_wrap(), and colour by group without clutter.
- 04 30 min π AiTeky Pass Make it ready to share: order, scales, labels and themes Sort bars with reorder(), turn long labels sideways with horizontal bars, format axes as rupees, commas and percents with the scales package, pick colours on purpose, label bars directly and apply a clean theme.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.
- 05 40 min π AiTeky Pass On the job: a sales chart pack, and a misleading chart put right Build the four charts a retail review needs (trend by branch, category mix, ranked products and bill sizes), fix a chart that exaggerates with a cut-off axis, replace a crowded pie, and practise the interview questions.
- 06 40 min π AiTeky Pass On the job: charts that explain used-car prices Clean the listings, then show how age, kilometres, body type and city move used-car prices: a log-scale scatter with trend lines, small multiples by fuel, ordered box plots, a median-by-city dot chart with counts, an annotated chart for the pricing team, and the interview questions.

