← Back to all work
GitHubLearning and foundations

Census Analyser in Java

Java census CSV analysis with country adapters, configurable sorting, Gson, and JUnit fixtures.

STATUSHistorical learning project; current execution not revalidated in this review.
FOCUSLearning and foundations
DIAGRAM SCOPEWorkflow overview

THE PROBLEM

What it sets out
to solve.

Process country-specific record formats through a common analysis workflow.

THE APPROACH

How it comes
together.

Country adapters and CSV builders load Indian/US data, sort by selected state/population/density/area fields, and serialize the ordered records to JSON.

UNDER THE HOOD

Follow the workflow.

Trace the components.
Select a node for its role in the system.

Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DCensus Analyser in Java
Java 8OpenCSVGson
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
  1. Country CSV fixtureCountry adapter and CSV builder
  2. Country adapter and CSV builderAnalysis and sorting
  3. Analysis and sortingJSON and test assertions

Select a component to see how it fits into the system.

CAPABILITIES

What’s inside.

  • 01

    Indian and US country adapters

  • 02

    State, code, population, density, and area sorting

  • 03

    Gson serialization

  • 04

    Invalid-file and fixture test cases

Let’s build something useful.

Start a conversation ↗