20 Free Datasets for Student Data Science Projects: Where to Find and Use Them

You have learned basic Python, statistics and graphing. Now you want to build your first independent data science project—but where should the data come from? A search for “free datasets” returns thousands of files, some without a description, others far too large for a laptop, and some whose public download buttons say nothing about reuse permission. Choosing a dataset is not a contest to download the biggest file. It is a research decision: which observations can answer an interesting question, can you understand their variables, and may you responsibly access and use them?

This guide identifies 20 free datasets for student data science projects from their original authoritative hosts: the UCI Machine Learning Repository, scikit-learn, World Bank, Our World in Data, NOAA, NYC Taxi and Limousine Commission, and NASA. Every catalogue entry names the actual dataset, describes a realistic project and access method, explains a limitation, and distinguishes verified licensing from unresolved permission. We cover statistics, education, business, global development, public health benchmarks, environmental science, transportation, engineering and computer vision.

The guide is designed for secondary-school, college and early-university learners worldwide. Five strong starting points and matching project ideas help you select a manageable first assignment. The companion toolkit includes a searchable 20-dataset metadata workbook, an executed Iris Python notebook, original synthetic spreadsheet exercises, citation and portfolio templates, a ten-task capstone and 30 practice questions. No copied third-party raw datasets are bundled. The source pages remain the authoritative place to obtain them under their current conditions.

Key distinction: Free access means you may be able to view or obtain a dataset without paying. It does not automatically establish permission to redistribute its files, publish identifiable observations, make commercial use or train an AI model. Read dataset-specific terms and cite the producer. This catalogue was checked against official pages on 25 November 2026; access and terms may change.

How to use this guide

Start by deciding whether your question concerns a comparison, time trend, distribution, relationship, classification or numerical prediction. Next look at the summary table and difficulty descriptions. Open the original dataset page rather than a third-party copy, read its metadata and licence, then choose a format your software can handle. Finally, download or load the data, inspect quality, analyse, graph the findings, interpret their limits, and cite the source. This sequence helps prevent the common mistake of selecting a file first and inventing a question merely because the file is available.

Six stages from defining the question to source verification, licence checking, analysis and citation.
Figure 1. The research question—not the download button—should determine the workflow.

What is a dataset, and how is it different from a repository?

A dataset is a defined collection of related information: perhaps 150 flower measurements, thousands of financial transactions, annual population indicators, weather-station observations or satellite raster tiles. A repository hosts or points to many datasets. Thus UCI Iris is one specific dataset, while UCI’s catalogue is a repository; Kaggle, Google Dataset Search and Data.gov can aid discovery but are not three datasets in themselves. A dataset may have one file, many related files, a queryable API or an application-provided Python loader.

In a conventional table, a row typically represents one observation and a column represents a variable. In a supervised machine-learning example, features are the input variables, whereas the target is the outcome to predict. In UCI Iris, flower measurements are features and species is the classification target. In World Bank Population, a country-year value is an indicator observation, not an individual person. Metadata and a data dictionary explain meanings, units, codes, sources and study periods. Never assume that every row represents a unique human: retail transactions, taxi trips and website sessions have different observational units.

StudentCodeWeekStudy minutesPractice tasks
SYN0011242
SYN0021282
SYN0031313
SYN0041221
SYN0052322

The five-row table above is a simple synthetic teaching illustration, not an extract from any of the recommended third-party datasets. Its identifiers and numbers are fictional. A useful data dictionary would state that study minutes are nonnegative durations and practice tasks are counts. Creating original examples allows students to learn calculations without implying that restricted or sensitive source files can be republished without permission.

Structured, semistructured and unstructured data

Structured data have a clear field schema and are often stored as CSV files, database tables or spreadsheet sheets. JSON and XML commonly store semistructured information such as nested API responses with defined keys but varying records. Image, audio and free-text collections may be less structured as ordinary tables even if their files have labels and metadata. A collection of handwritten digit images therefore needs array and image-processing tools, not merely a spreadsheet sum. NASA satellite grids also require location, resolution, scale-factor and quality-flag interpretation.

Common file formats and appropriate tools

FormatBest first useTool or limitation
CSVSmall and medium tabular recordsExcel, Sheets, Pandas; check encoding and delimiters
XLSXWorkbooks with sheets and cell formatsExcel or Sheets; beware automatic type conversion
JSONAPIs and nested indicatorsPython/json/Pandas; inspect structure
ParquetLarge columnar records such as taxi tripsPandas with PyArrow or equivalent engine
TXTDocumented text formatsInspect delimiter and encoding before parsing
ZIPDelivery of multiple filesExtract; not itself the underlying data schema
Image/arrayDigits and computer visionNumPy, Matplotlib, scikit-learn
HDF/GeoTIFFSatellite vegetation-index rastersQGIS, rasterio or specialised software
Five data formats matched to suitable software, including Parquet and raster files.
Figure 2. Different formats require different readers and quality checks.

A practical dataset selection checklist

For each candidate, answer five groups of questions rather than scrolling through a 20-line checklist on the page. Purpose: what question and observational unit? Source: who collected and maintains the records, for which period? Access: can your software open them, and is registration or a download token needed? Trust: are missing values, coverage, privacy, source definitions and potential leakage understood? Reuse: what licence, attribution and limits apply? The complete printable 20-point version is available among the learning downloads. Smaller, documented datasets frequently teach more than large, mysterious files.

All 20 verified datasets compared

This is a specific dataset catalogue, not a list of twenty websites. The access terms below describe the source routes observed at the time of review; they can change. “Built in” refers to a loader bundled with scikit-learn, not a statement that its standalone data files have an unrestricted redistribution licence. The comparison table scrolls within its own region on narrow screens.

#Dataset and sourceTopicLevelProject typeFormatAccess
1IrisBiologyBeginnerClassificationCSV/ZIPDirect
2Wine QualityChemistryBeginner–intermediateRegression/ordinalCSV/ZIPDirect
3Student PerformanceEducationBeginner–intermediateEducation analyticsCSV/ZIPDirect
4Bank MarketingBusinessIntermediateClassificationCSV/ZIPDirect
5Online RetailRetailIntermediateTransaction analysisXLSXDirect
6Adult / Census IncomeSocioeconomicsIntermediateClassification/ethicsData/ZIPDirect
7Bike SharingTransportBeginner–intermediateTime series/regressionCSV/ZIPDirect
8Air QualityEnvironmentIntermediateSensor time seriesCSV/ZIPDirect
9AI4I 2020 Predictive MaintenanceEngineeringIntermediateClassificationCSVDirect
10Online Shoppers Purchasing IntentionDigital commerceIntermediateClassificationCSVDirect
11Handwritten Digits (8×8)Computer visionBeginner–intermediateClassificationPython arrayBuilt in
12Diabetes Regression BenchmarkHealth benchmarkBeginner–intermediateRegressionPython arrayBuilt in
13Breast Cancer Wisconsin (Diagnostic)Medical benchmarkIntermediateClassificationPython arrayBuilt in
14World Bank Population, totalDemographicsBeginnerTime seriesCSV/APIPublic API
15World Bank GDP (current US$)EconomicsBeginner–intermediateTime seriesCSV/APIPublic API
16Life expectancy at birthGlobal developmentBeginnerTime seriesCSVChart download
17CO₂ emissions per capitaSustainabilityBeginner–intermediateTime seriesCSVChart download
18NOAA GHCN Daily SummariesWeatherBeginner–intermediateStation time seriesCSV/station filesStation selection; API token may apply
19NYC TLC Yellow Taxi Trip RecordsTransportationIntermediate–advancedTrip analyticsParquetLarge download
20NASA MODIS MOD13Q1 Version 6.1Earth observationAdvancedRaster time seriesHDF/rasterEarthdata login

The provider distribution is 10 UCI datasets, three scikit-learn benchmarks, two World Bank indicators, two Our World in Data indicators, one NOAA station-level collection, one NYC taxi collection and one NASA satellite product. These recommendations deliberately mix small introductory tables with data requiring advanced tools, so do not assume all twenty are appropriate for the same course or computer.

Ten UCI, three scikit-learn, two World Bank, two Our World in Data, one NOAA, one NYC and one NASA datasets
Figure 3. Twenty specific datasets across seven original source families.

The 20 datasets: source, project and important limitations

1. Iris

Source: UCI — official dataset page. Difficulty: Beginner. Subject and task: Biology; Classification. Format and access: CSV/ZIP; Direct. Licence: CC BY 4.0; cite Fisher/UCI.

150 flowers, four petal/sepal measurements and three species; no reported missing values. Original student project idea: Compare petal measurements by species, chart class separation and fit a modest classifier. Consider the main variables—Four numeric features and a species label.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: A small, unusually accessible benchmark is not evidence that real classification tasks are always simple. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

2. Wine Quality

Source: UCI — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Chemistry; Regression/ordinal. Format and access: CSV/ZIP; Direct. Licence: CC BY 4.0; cite Cortez et al./UCI.

Red and white Portuguese wine observations with physicochemical measurements and ordered quality ratings. Original student project idea: Compare acidity and recorded quality, then test whether numeric or ordinal treatment better fits the question. Consider the main variables—Acidity, residual sugar and a quality score.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Class frequencies are uneven; available features do not include every determinant of sensory ratings. Statistical instruction only, not alcohol promotion. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

3. Student Performance

Source: UCI — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Education; Education analytics. Format and access: CSV/ZIP; Direct. Licence: CC BY 4.0; cite Cortez/UCI.

Historical school and survey records from two Portuguese schools, across separate Mathematics and Portuguese subject files. Original student project idea: Visualize recorded study-time and absence groups and discuss their association with final grades. Consider the main variables—G1, G2, G3, absences and studytime.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Sensitive student-related attributes require fairness; earlier grades G1/G2 can be unavailable for a genuinely early prediction. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

4. Bank Marketing

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Business; Classification. Format and access: CSV/ZIP; Direct. Licence: CC BY 4.0; cite Moro et al./UCI.

Historical Portuguese phone-marketing campaign observations with a subscription yes/no outcome. Original student project idea: Create a precision/recall comparison for a campaign-response classifier using features available at decision time. Consider the main variables—Campaign contacts and response y.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Call duration is observed after a call and can leak information in a model advertised as predicting before the call. Historical behaviour may not generalize. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

5. Online Retail

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Retail; Transaction analysis. Format and access: XLSX; Direct. Licence: CC BY 4.0; cite Chen/UCI.

Over 500,000 line items of historical UK online gift-retail transactions dated December 2010 to December 2011. Original student project idea: Create monthly revenue and returns plots by product, keeping returned goods apart from completed purchases. Consider the main variables—InvoiceNo, Quantity, InvoiceDate, UnitPrice.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: An InvoiceNo beginning C denotes cancellation; negative quantities are not necessarily bad entries and a row is not a unique customer. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

6. Adult / Census Income

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Socioeconomics; Classification/ethics. Format and access: Data/ZIP; Direct. Licence: CC BY 4.0; cite Becker, Kohavi/UCI.

A historical extraction from 1994 census records with socioeconomic variables and an income-above-threshold label. Original student project idea: Compare missing-category patterns and discuss how historical income classification varies by recorded features. Consider the main variables—Income class and socioeconomic factors.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Sensitive demographics, exclusion criteria and historical collection limit fairness and modern relevance; no person-level profiling or employment decisions. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

7. Bike Sharing

Source: UCI — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Transport; Time series/regression. Format and access: CSV/ZIP; Direct. Licence: CC BY 4.0; cite Fanaee-T/UCI.

Hourly and daily rental counts with weather and seasonal information from 2011–2012. Original student project idea: Explore weekday and seasonal ridership patterns, then try a time-split forecast using available features. Consider the main variables—Date, hour, weather and rental counts.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: The fields casual and registered sum to total cnt: using them to forecast cnt creates target leakage. Future time order must be respected. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

8. Air Quality

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Environment; Sensor time series. Format and access: CSV/ZIP; Direct. Licence: CONFLICT: CC BY 4.0 panel plus research-only/no-commercial-use text; verify.

9,358 hourly sensor observations from a polluted urban site in Italy, with reference gas concentrations, March 2004 to February 2005. Original student project idea: Audit sensor missingness and compare pollution signal trends with valid dates and measurement units. Consider the main variables—Sensor responses, gases, timestamps.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: The marker −200 represents missing data; drift and measurement context matter. Licence text conflicts, so permission for broad reuse requires clarification. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

9. AI4I 2020 Predictive Maintenance

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Engineering; Classification. Format and access: CSV; Direct. Licence: CC BY 4.0; cite UCI/original publication.

10,000 explicitly synthetic records of machine-condition variables, failure flags and derived failure types. Original student project idea: Model failure versus nonfailure and compare sensitivity and precision on a class-imbalanced outcome. Consider the main variables—Torque, temperature, rpm, tool wear.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: These are synthetic engineering examples, not field records from an actual factory; some target-related failure flags can leak the label. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

10. Online Shoppers Purchasing Intention

Source: UCI — official dataset page. Difficulty: Intermediate. Subject and task: Digital commerce; Classification. Format and access: CSV; Direct. Licence: CC BY 4.0; cite Sakar/Kastro/UCI.

12,330 browsing-session vectors labelled by whether a session ended with a purchase. Original student project idea: Study session characteristics related to conversion and measure precision and recall rather than accuracy alone. Consider the main variables—Revenue label and browsing-duration features.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Interpret observations at the session level, not as unique customer transaction histories; historical shopping conditions differ. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

11. Handwritten Digits (8×8)

Source: scikit-learn — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Computer vision; Classification. Format and access: Python array; Built in. Licence: Standalone redistribution licence not established by loader page.

1,797 low-resolution 8-by-8 digit images, ten labelled target digits and 64 flattened pixel features. Original student project idea: Plot each digit class and build a simple digit recognizer; inspect misclassified images from a held-out set. Consider the main variables—pixels (8×8) and digit target.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: This is not the full MNIST dataset and is not representative of unconstrained camera-phone handwriting. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

12. Diabetes Regression Benchmark

Source: scikit-learn — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Health benchmark; Regression. Format and access: Python array; Built in. Licence: Standalone redistribution licence requires original-source check.

442 historical observations, ten numeric baseline predictors and a numerical disease-progression target. Original student project idea: Fit a baseline regression and calculate MAE, RMSE and R² on held-out benchmark outcomes. Consider the main variables—ten predictors and a numeric target.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Scikit-learn’s default scaling affects feature interpretation. A classroom benchmark is not an individual medical diagnostic instrument. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

13. Breast Cancer Wisconsin (Diagnostic)

Source: scikit-learn — official dataset page. Difficulty: Intermediate. Subject and task: Medical benchmark; Classification. Format and access: Python array; Built in. Licence: Standalone redistribution licence requires original-source check.

569 benchmark observations, 30 measurements and two diagnostic target classes. Original student project idea: Compare confusion matrices for two basic classifiers and discuss what false negatives mean. Consider the main variables—numeric cell-nucleus features and target.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Never describe classroom classification accuracy as clinical validation; medically consequential use requires independent evaluation. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

14. World Bank Population, total

Source: World Bank — official dataset page. Difficulty: Beginner. Subject and task: Demographics; Time series. Format and access: CSV/API; Public API. Licence: CC BY 4.0 shown on indicator metadata; attribute source.

The annual population-total indicator SP.POP.TOTL supplies country and aggregate estimates for available years. Original student project idea: Select three countries and compare population trajectories over a stated historical period. Consider the main variables—country, year and population.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Estimate vintages can be revised, country coverage differs and a current calendar year is not necessarily the latest available data year. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

15. World Bank GDP (current US$)

Source: World Bank — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Economics; Time series. Format and access: CSV/API; Public API. Licence: CC BY 4.0 on source page; credit World Bank.

The indicator NY.GDP.MKTP.CD describes annual nominal GDP denominated in current US dollars. Original student project idea: Plot GDP values for selected economies and explain why nominal comparisons are not real growth calculations. Consider the main variables—country, year, nominal GDP.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Currency conversions, price changes and incomplete periods matter; GDP total is not an individual standard-of-living measure. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

16. Life expectancy at birth

Source: Our World in Data — official dataset page. Difficulty: Beginner. Subject and task: Global development; Time series. Format and access: CSV; Chart download. Licence: OWID CC BY processing; underlying source licence may differ.

The life-expectancy chart combines historical demographic source series with OWID processing and metadata. Original student project idea: Compare long-run life expectancy curves among selected places with a written interpretation of period measures. Consider the main variables—Entity, Year, life expectancy in years.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: A population period life-expectancy indicator is not a prediction for an individual; cite both OWID and underlying providers. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

17. CO₂ emissions per capita

Source: Our World in Data — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Sustainability; Time series. Format and access: CSV; Chart download. Licence: OWID CC BY processing; verify underlying data terms.

The chart reports fossil-fuel and industrial CO₂ emissions per person in tonnes, excluding land-use changes. Original student project idea: Contrast territorial fossil-CO₂-per-person trends across countries and clearly describe the denominator. Consider the main variables—Entity, Year, tonnes per person.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Do not confuse territorial emissions with consumption emissions or include land-use fluxes in an incompatible comparison. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

18. NOAA GHCN Daily Summaries

Source: NOAA NCEI — official dataset page. Difficulty: Beginner–intermediate. Subject and task: Weather; Station time series. Format and access: CSV/station files; Station selection; API token may apply. Licence: Public NOAA access; check metadata and cite NOAA NCEI.

Daily climate observations at verified weather stations; data elements and completeness vary by station and date. Original student project idea: Study dates 2024-01-01 to 2024-12-31 for verified station USW00094728, first downloading actual values from NOAA. Consider the main variables—station ID, date, element and units.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: No real readings are invented; precipitation and temperature units, missing days and measurement flags require inspection. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

19. NYC TLC Yellow Taxi Trip Records

Source: NYC TLC — official dataset page. Difficulty: Intermediate–advanced. Subject and task: Transportation; Trip analytics. Format and access: Parquet; Large download. Licence: Dataset-specific licence or reuse permission requires verification.

Public monthly yellow-taxi trip files with pickup/dropoff times, zones, trip distances, payment and fare fields. Original student project idea: Analyze trip durations and fare distributions for one verified published month or filtered extract. Consider the main variables—trip times, distance, fare and pickup zone.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: Monthly files may contain millions of records; TLC cannot guarantee data accuracy and trips are not unique passengers. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

20. NASA MODIS MOD13Q1 Version 6.1

Source: NASA — official dataset page. Difficulty: Advanced. Subject and task: Earth observation; Raster time series. Format and access: HDF/raster; Earthdata login. Licence: NASA product open-data guidance; credit NASA and verify conditions.

MOD13Q1 V6.1 provides 16-day vegetation-index observations at approximately 250-metre pixel resolution, with quality layers. Original student project idea: Download one documented region and analyse seasonal NDVI after applying proper scale factors and pixel-quality masks. Consider the main variables—NDVI/EVI rasters, quality flags, tiles.—and decide which are observations, measurements or legitimate targets before choosing a model.

Interpretation and responsible-use caution: An Earthdata token/login and specialist raster processing may be required; not ordinary spreadsheet-ready CSV. Preserve source metadata, record the download date, and check the provider’s current documentation before reusing or sharing the data. Do not imply an association or benchmark score establishes a causal or real-world operational result.

Five strong starter datasets

The five recommendations below are chosen for understandable variables and manageable beginner assignments, not claimed popularity or downloads. Iris is an excellent first classification and scatter-plot task with compact feature measurements, but its easy pattern is not universal. World Bank Population teaches country-year indicators, revisions and line graphs without needing predictive modelling. Life Expectancy supports development comparisons and careful explanation of a demographic measure. Student Performance connects directly to educational statistics, though its sensitive features and two-school history demand responsible interpretation. Handwritten Digits offers an accessible first look at image arrays and classification errors, provided students understand it is not MNIST.

StarterBest first questionSuitable softwareMain challenge
IrisHow do petal sizes differ across species?Python/scikit-learnDo not overgeneralize benchmark accuracy
World Bank PopulationHow did population estimates change over time?Excel/Sheets/PythonDifferent coverage years and revisions
Life ExpectancyHow do long-run country trends differ?CSV and line chartsDefinitions and source harmonisation
Student PerformanceWhat descriptive patterns occur in recorded grades?Excel or PandasFairness and prior-grade leakage
Handwritten DigitsWhich digit classes are confused most often?Python/scikit-learnUnderstand 8×8 pixel arrays

Choose a dataset by your project type

Data visualisation: World Bank indicators, life expectancy, bike sharing or student performance. Classification: Iris, bank marketing, digital shopping sessions, AI4I or digits. Regression: Diabetes or Wine Quality only when you justify the target’s numerical treatment. Time series: bike rental history, NOAA daily observations, CO₂ series and selected monthly taxi records. Environmental analysis: air-quality sensors, NOAA and MOD13Q1. Business: retail sales, bank response and online purchasing. A classification label is not interchangeable with a continuous numeric outcome, and not every investigation needs machine learning at all.

How to download and inspect a CSV safely

Open the verified original landing page, confirm the exact file name and format, read its data dictionary and licence, and save a copy unchanged. If provided as ZIP, extract the relevant CSV locally and inspect its headers, separator, encoding, missing markers and record count. A spreadsheet may automatically convert codes with leading zeros or ambiguous dates; use a guided import rather than simply double-clicking. Choose a manageable subset if the source contains millions of observations. Record the source URL, download date, version and any filters so someone else can repeat your analysis.

Project 1 — Iris exploratory analysis with Python

The official scikit-learn Iris loader runs without downloading a separate third-party file in the notebook. In the executed package, 150 observations and five dataframe columns were loaded: four measurement features plus one target column. All 150 rows have observed values in that bundled version, and the three target classes contain 50 observations each. The notebook charts paired petal dimensions, compares species means and fits a small classifier using a training-only preprocessing pipeline. The held-out demonstration score was 0.9474 on 38 test records under seed 84084. That result is a teaching example, not a promise of real botanical performance.

from sklearn.datasets import load_iris
iris=load_iris(as_frame=True)
df=iris.frame.copy()
print(df.shape)        # (150, 5) in verified local run
print(df.isna().sum()) # no missing cells in verified local run
print(iris.target_names)

# Preserve a separate test set before fitted preprocessing.

Project 2 — Population indicators from the World Bank

Open Population, total, choose countries and a historical window, then use the provider’s CSV download or documented API. A country-year record may be absent or revised; do not treat every missing value as zero. The indicator code is SP.POP.TOTL. Make a line chart with real year labels and record which vintage you accessed. For GDP, NY.GDP.MKTP.CD describes current US-dollar values, not inflation-adjusted real GDP. In either project, explain what the measure represents rather than treating any numerical difference as causal or a change in living standards.

Projects 3–5 — Student outcomes, weather and retail

With Student Performance, inspect which records belong to Mathematics or Portuguese, summarize recorded absences or grade distributions and avoid attributing causation to individual characteristics. For NOAA Daily Summaries, a possible study is 2024 observations for verified Central Park station USW00094728; open the official station-level search first, check actual coverage, units and quality flags, and never invent temperatures that were not downloaded. For Online Retail, distinguish transaction lines from customers and investigate cancellations and negative quantity signs before computing revenue. A cancellation is not automatically a data-entry error, and the values in this article are not fabricated retail findings.

Excel, Google Sheets and Pandas workflows

For Excel, choose Data → Get Data/From Text or CSV where supported, inspect delimiters and column types, create a table, then calculate missingness and a summary. Google Sheets can import appropriate small CSV or XLSX datasets; verify locale and date interpretation after upload. The supplied Sheets-compatible workbook was not executed in native Sheets, so recheck formulas there. For larger CSVs, Python’s pd.read_csv() gives more control, and pd.read_parquet() may need an additional Parquet engine for taxi records. Python notebook platforms have different storage and memory limits; use a file your environment can handle.

import pandas as pd
# Replace this with a file you lawfully obtained from its source.
df=pd.read_csv('your-downloaded-dataset.csv')
print(df.shape)
print(df.dtypes)
print(df.isna().sum())
print(df.head())

Licensing, privacy, provenance and bias

Before reusing data, distinguish free access from an open licence. Check whether attribution, noncommercial limits, share-alike terms or third-party source restrictions apply. One UCI Air Quality page currently contains conflicting CC BY 4.0 and research-only statements; treat its broad reuse permission as unresolved. Our World in Data requires credit to its own processing and underlying providers. Built-in scikit-learn dataset loader documentation is not itself proof of standalone redistribution permission. For any portfolio, prefer linking readers to the source rather than mirroring files when rights are uncertain. Avoid exposing personal records, reconstructing individuals from taxi trips, or treating a medical benchmark as a clinical decision system.

Data provenance is a log of who collected records, which version you used and how you changed them. Save source URLs, access dates, data dictionaries, cleaning rules, filters, software versions and random seeds. Consider which population the sample represents: two Portuguese schools do not represent every student worldwide, and historical census income labels may differ from modern conditions. For predictive models, avoid using future information, target-derived fields, a full-dataset imputer or repeated people on both sides of a train/test split. Topics 83: Data Quality and 82: Data Visualization provide the next practical checks.

From first analysis to an ethical student portfolio

An effective project report presents the question, dataset creator and source, licence, observation unit, fields and units, missingness, cleaning decisions, analytical method, suitable visualisations and what the findings cannot establish. Share your original notebook, charts, README and a requirements file; do not commit passwords, API keys or restricted source data to GitHub. A clear descriptive analysis can demonstrate more genuine understanding than a high-accuracy model with data leakage. When your project is reproducible, another student can download the data under its own terms, run your steps and interpret the limitations.

A ten-task capstone: your first evidence-based dataset project

Choose one of the twenty exact source datasets and follow these ten tasks. Use the printable capstone worksheet to record objective, evidence, source and version, calculated findings and limitations. Do not fabricate observations if a station, API request or satellite granule cannot be accessed. The project is complete when a reader can understand and reproduce your process, not merely when you have three attractive graphs.

Task 1: Choose a dataset

Pick one exact named dataset appropriate to your skills and computer.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 2: Verify the provider

Record its official page, producer, access route, licence and attribution.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 3: Define a question

State a narrow question with a clear unit of analysis and population.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 4: Load legitimately

Use the documented CSV, API, loader or raster process; preserve source.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 5: Read metadata

Identify useful columns, time periods, units, target labels and restrictions.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 6: Profile quality

Inspect missingness, types, invalid values, duplicates and possible biases.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 7: Analyse

Calculate a justified summary or train a properly evaluated baseline model.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 8: Visualise

Create at least three graphs that genuinely answer the intended question.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 9: Interpret

Explain patterns, uncertainty, missing groups, leakage and limits to generalisation.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Task 10: Present a portfolio report

Include original charts, source citations, licence, reproducible code and caveats.

Show required evidence

Include a verifiable source URL, saved decision or calculated result; state whether the result came from observed data, a synthetic teaching example or an unexecuted proposal. Avoid claiming a download or analysis that did not occur.

Thirty original practice questions, hints and worked answers

Questions 1–10 check dataset vocabulary, Questions 11–20 cover access and analysis, and Questions 21–30 require research judgement. Each answer is hidden until the student chooses to reveal it. The downloadable question-only worksheet and verified answer guide support independent or classroom practice.

Level 1 — Dataset foundations

Question 1: What is a dataset?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: A collection of related observations or values with a defined scope.

Common mistake: Do not confuse it with the platform hosting it.

Question 2: In a rectangular table what do rows and columns represent?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Usually observations and variables, respectively.

Common mistake: Some datasets use complex non-tabular structure.

Question 3: Which target appears in Iris?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Flower species, with petal and sepal measurements as input features.

Common mistake: Class labels are not an extra continuous measurement.

Question 4: What is structured data?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Information organised into named fields, as in a tabular CSV.

Common mistake: A file extension alone does not prove its quality.

Question 5: Give one less-structured dataset example.

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Handwritten-digit images or text documents are examples.

Common mistake: Such files can still possess organised metadata.

Question 6: What is a CSV?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Delimited text records, often comma separated.

Common mistake: Quoted fields and encoding require validation.

Question 7: What is JSON commonly used for?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Key-value objects and arrays, including API responses.

Common mistake: It may be semistructured or nested.

Question 8: Where should you obtain UCI Iris?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Its original UCI dataset page.

Common mistake: Avoid unsourced copies where provenance is unclear.

Question 9: What does dataset metadata explain?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Variable meaning, units, source, collection and known limits.

Common mistake: Do not infer definitions from column names alone.

Question 10: Is Kaggle one of the 20 datasets?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: No. It is a discovery/hosting platform; a specific dataset must be named.

Common mistake: Platform names are not dataset titles.

Level 2 — Discovery and analysis

Question 11: Name a classification choice from the catalogue.

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Digits or Iris, depending on the project.

Common mistake: Classification requires meaningful class labels.

Question 12: Name a numerical-prediction benchmark.

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Scikit-learn Diabetes, with a numeric target.

Common mistake: Do not present a teaching model as a diagnosis.

Question 13: Which named dataset supports daily weather analysis?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: NOAA GHCN Daily Summaries at a selected station.

Common mistake: Station coverage and units require inspection.

Question 14: Which chart suits country-year population?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: A line chart with correctly ordered years.

Common mistake: Do not treat missing years as zero.

Question 15: What should you do before importing CSV into Excel?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Save the original, read metadata and choose safe data-type settings.

Common mistake: Automatic date or identifier parsing can damage values.

Question 16: What does -200 mean in UCI Air Quality?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: A documented missing-value marker.

Common mistake: It is not necessarily a real measurement.

Question 17: Why hold out test observations?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: For credible assessment of a model on unseen records.

Common mistake: No leakage from fitted preprocessing.

Question 18: Why read retail invoice conventions?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Cancellations and returns affect a truthful sales calculation.

Common mistake: Negative quantities are not always data errors.

Question 19: Does free download allow unrestricted redistribution?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: No; provider-specific licence and source rights govern reuse.

Common mistake: Link to source when unclear.

Question 20: What information belongs in a dataset citation?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Creator, year, title, version, repository, DOI/URL and date where appropriate.

Common mistake: Do not invent missing bibliographic fields.

Level 3 — Responsible research decisions

Question 21: Does 1994 income data represent today’s workforce?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Not automatically: it reflects historical conditions and selection.

Common mistake: Discuss dataset age and domain shift.

Question 22: Why can’t two schools represent every student?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Coverage and sampling limits restrict generalisation.

Common mistake: Do not infer a worldwide population.

Question 23: What is the ethical risk of sensitive demographic predictors?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Potential unfair profiling and privacy harm.

Common mistake: Avoid high-stakes automated decisions.

Question 24: What target leakage exists in Bike Sharing?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: casual and registered sum to cnt; using them to predict cnt leaks its target.

Common mistake: Define what is known before prediction.

Question 25: Does an observed correlation prove causation?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: No; confounding and observational design limit causal claims.

Common mistake: Correlation plots do not substitute for experiments.

Question 26: Can you publish taxi passenger identities derived from trips?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: No; do not attempt re-identification.

Common mistake: Use aggregate analysis and respect licences.

Question 27: Which dataset is manageable for a first flower model?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: UCI Iris: 150 flowers, four numeric features and species targets.

Common mistake: Benchmark simplicity is not general-purpose reliability.

Question 28: Why use Parquet for taxi-trip data?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Efficient storage for large column-oriented datasets.

Common mistake: A Parquet reader/engine may be required.

Question 29: How would you use a cancer benchmark responsibly?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Compare classification errors for education, not clinical diagnosis.

Common mistake: Medical validation is separate from classroom accuracy.

Question 30: What belongs in the final dataset research report?

Show hint

Consider the named original provider, dataset structure, analytical question and restrictions before answering.

Show worked solution

Answer: Question, producer, URL, rights, units, quality, analysis, visuals, limitations, citations and reproducibility.

Common mistake: Do not omit access and evidence details.

Common mistakes in finding and using public datasets

Incorrect choiceBetter practice
Choosing by popularity aloneMatch the dataset to a real question
Calling a repository a datasetName the specific collection
Skipping original provenanceUse primary producer’s page
Assuming public means public domainRead the exact licence
Reuploading restricted filesLink to original
Ignoring dataset versionRecord vintage and date
Inventing a licenceFlag unknown rights
Missing creator attributionUse preferred citation
Downloading excessive dataChoose a manageable subset
Opening Parquet in plain ExcelUse compatible engine
Losing leading zerosImport identifiers as text
Ignoring measurement unitsRead codebook
Assuming blanks are zerosInspect missing markers
Mixing historical and currentDisclose reference period
Calling sessions peopleDefine unit of analysis
Using target-derived predictorsCheck for leakage
Fitting scaler before splitTrain-only preprocessing
Randomly splitting temporal forecastsRespect chronological order
Ignoring class imbalanceReport precision and recall
Equating benchmark with deploymentDiscuss generalisation
Treating correlations as causalUse cautious interpretation
Profiling sensitive attributesProtect fairness and privacy
Attempting reidentificationUse aggregate results
Using medical examples for diagnosisEducational benchmarks only
Assuming source accuracyProfile and validate
Removing all outliersInvestigate first
Omitting chart unitsLabel axes/denominators
Publishing raw private recordsMinimise and safeguard data
No reproducibility notesRecord seed and methods
Claiming unexecuted code was testedExecute and verify
Confusing current-dollar GDP with real growthCheck inflation definition
Treating Air Quality −200 as a gas readingFollow sentinel documentation
Ignoring satellite QA flagsApply masks and scale factors
Assuming NOAA observations have no gapsInspect stations/dates
Assuming all OWID sources share one licenceCheck underlying sources

A four-week learning roadmap

WeekLearning focusPractical evidence
1Source, licence, metadata, formatsChoose two candidates and document source/access
2CSV/array loading, data quality and statisticsReproduce Iris shape and no-missing check
3Charts, comparisons and optional baseline modelBuild three labelled graphs; identify leakage risks
4Ten-task capstone and portfolio presentationSubmit methods, original figures, citations and limitations

Download the verified educational resources

The following files are hosted in the connected Notes for SHS WordPress media library. The full ZIP package is provided separately; it contains metadata, templates, an executed notebook, original diagrams and fictional teaching records, not copies of the twenty third-party raw datasets. The Google Sheets-compatible workbook should be checked after importing into native Google Sheets.

Optional courses on data science and dataset analysis

For a structured introduction, explore data science courses on Coursera or data science courses on Udemy. These are ordinary provider discovery pages—not verified affiliate-tracked promotional banners. Course fees, syllabus, credentials and availability depend on the provider and should be checked there. The present article does not claim any commission-tracked destination without an approved URL.

Frequently asked questions

What is a dataset?

A defined collection of related observations, variables or other data units used for analysis.

Where should a beginner start?

Iris, World Bank Population or a manageable historic indicator with clear documentation are strong options.

Are free datasets unrestricted?

No. Free access does not establish broad rights to modify or redistribute them.

Is Kaggle a single dataset?

No. It is a data platform with many different individual datasets and licences.

Can I use public data in Excel?

Yes when the file format and data size are appropriate; import carefully.

What is the difference between CSV and XLSX?

CSV is delimited text, while XLSX is a structured spreadsheet workbook format.

Which dataset works for classification?

Examples include Iris, Digits, Bank Marketing and AI4I, each with class labels.

Which dataset works for regression?

The Diabetes regression benchmark has a numerical target; appropriate Wine Quality formulations are also possible.

Where can I find weather data?

NOAA NCEI GHCN Daily Summaries offers documented station-level observations.

Can I use NASA satellite vegetation data?

Yes through the appropriate data access mechanisms, with authentication and raster-analysis skills where needed.

Can I share downloaded raw files on GitHub?

Only if dataset-specific terms and privacy constraints permit it; otherwise share source links and original code.

What is a target variable?

The outcome a supervised model is designed to predict, distinct from its input features.

Why are licenses and citations important?

They document permissions, original producers and research provenance.

How do I avoid data leakage?

Exclude future or target-derived information and fit learned preprocessing on training data only.

Conclusion: begin with a question, not a massive download

The best student data science project is not the one with the largest file or most complicated model. It is a project that asks a meaningful question, uses an appropriate dataset with known provenance, treats missingness and bias seriously, respects licences and privacy, and clearly explains its conclusions. Begin with a small, well-documented option from the twenty, complete the ten-task worksheet, preserve a reproducible workflow and cite the original provider. That foundation will prepare you for later Python weather, educational modelling and other dataset-driven projects.

Useful official source and software references

Related Notes for SHS articles