Goce Mitevski

Registry of Public Enterprises and Trading Companies of North Macedonia

North Macedonia’s Ministry of Finance publishes the financial results of the companies the state owns. The files are public, but the picture is not. I designed and built the Public Enterprises Registry to close that distance: a bilingual, static web application that turns eight years of filings into something a reader can navigate, compare, and cite.

Scope of Work
Product definition, UX, Information Architecture, Visual design, front-end engineering, data pipeline and deployment
Type
Self-initiated public-interest project
Scale
33 companies, 789 records, 2019–2026, in Macedonian and English
Technology Stack
React 19, Vite 8, Bootstrap 5, Chart.js and i18next; a static JSON dataset hosted on GitHub Pages

The Brief

The Ministry’s page for state-owned enterprises is a stack of spreadsheets and PDFs, grouped by reporting period. Each file answers “what happened this quarter?” None answers “What happened to this company over eight years?” or “Which companies are carrying the sector?”

The data is narrow: revenue, expenses, financial result and the director, plus a short description and a website. That narrowness was the design constraint. I could not invent new metrics. I had to make four numbers and one human detail legible in several different contexts.

I designed for three readers.

  1. A citizen arrives with one question about one company
  2. A journalist arrives with a hypothesis about a sector
  3. An analyst arrives with a spreadsheet habit and wants the full series

They need the same data at different depths, so the interface had to support a fast answer and a slow investigation without becoming two products.

That produced four rules for the project:

  1. Preserve the audit trail
  2. Keep the source visible
  3. Make every view a link
  4. Ship without a server

Those rules show up in small places. The masthead links to the Ministry and shows the date of the last update. The About page sets out the limits of the source data and invites corrections through GitHub. The interface never pretends to be the source of record; it is a reading layer over one.

User Experience

A flat map

There are four top-level destinations: Overview, Registry, Comparison and About. Company profiles and filtered lists are leaves, not menu items. The map stays flat because the data is one fact table with a row per company per period; a nested navigation tree would invent hierarchy the source does not have.

The control bar is sticky and contextual. On the Overview and Registry it holds the year, quarter and currency. On Comparison it swaps in the two years being compared. On About it disappears. The controls change with the question, but they stay in the same place, so the reader does not have to relearn the page.

Every number is a door

The Overview is ordered as a narrative: quick facts first, then an aggregate chart, then top lists. The first screen answers “how big, how healthy, who is biggest?” before asking the reader to interact.

The six quick-fact cards are the most important interaction in the product. They summarise the year in green and red pairs, and every non-zero card links to the filtered list that produced it, carrying the year and quarter with it. The top lists link to company pages. The comparison rows link to company pages. A reader can start with the company count, narrow to a subset, open one company and end on its director history without ever losing context.

One company at a time

The company page follows the order in which a reader forms a judgement: the chart first, the directors second, the table third, and the previous/next company cards last.

The chart tells the story over time. The table is the audit trail, with the total in the footer. The director timeline supplies the human context that a financial series cannot: when a result changed, who was in post, and how often the post changed hands. The year selector is not just a filter; choosing a year switches the chart’s x-axis from years to quarters, which makes a single year readable without hiding the longer series.

The timeline also handles the awkward cases. A director who served in two consecutive years is shown as one span. If the same person ran other companies in the registry, a native disclosure control lists those tenures and links to them. If the post changed twice within two consecutive years, a warning badge says so. These are small decisions, but they are the difference between a chart and an explanation.

Comparison without false confidence

The comparison page was the easiest place to mislead. Comparing a partial year with a complete one produces a dramatic percentage that means very little. So the page does four things: it labels an incomplete year as “partial” in the selector, it prints a warning above the table, it keeps companies that exist in only one of the two years and marks them “Only in {year}”, and it prevents the same year from being selected twice by choosing the nearest complete alternative.

The table itself is deliberately adjustable. The reader chooses which metric to compare, then sorts by company name, absolute change or percentage change. The totals row follows the same metric, so the summary and the detail cannot drift apart.

The quiet details

Search transliterates both the query and the data, so typing “elektrani” finds “Електрани” and the reverse. The search field carries a clear button and a line of example keywords, because an empty box with no vocabulary is a dead end.

Every meaningful view is in the URL. The year, quarter, sort, order, currency and comparison years are query parameters, and the path carries the language, filter and company. A link like ?year=2026&quarter=2&sort=financial-result&order=desc&currency=EUR reproduces the exact view. This makes a finding citable and removes the need for a client-side state library.

Disclosure is progressive. The order selector appears only after a non-default sort is chosen. The reset button appears only when something has been changed. Director tenures expand only when the reader asks. The interface stays quiet until it has something to add.

The states are designed too. Loading uses a skeleton that mirrors the final layout and reserves a full viewport, so the footer does not jump when the data lands. Empty search results explain themselves. A data error offers a retry. A missing company gets a page rather than a blank screen.

On mobile the four destinations collapse to icons, the filters stack, the six cards become one column, and the masthead drops its subtitle and update badge rather than squeezing them. The desktop page is not simply scaled down; the hierarchy is re-cut for a narrow screen.

The semantics matter as much as the layout: one h1 per page, landmarks for the header, navigation and main content, native form controls with labels, aria-current on the active breadcrumb, aria-busy on the loading state and aria-hidden on decorative icons.

Visual Design

Material and palette

The subject is money, so the visual identity comes from the material: a macro photograph of Macedonian banknotes, darkened under a green gradient in the masthead and footer, and ghosted behind the quick facts and registry surfaces. It gives the site a sense of place without turning the data into decoration.

The palette is semantic. Green is income and a positive result, red is expenses and a loss, orange is the financial result, and a muted purple is reserved for the aggregate totals bar. The purple is the one deliberate exception to the green system: a total is not another company, so it should not look like one. The pale green surface and white cards keep the density readable across long tables.

Type and hierarchy

Noto Sans is self-hosted as a variable font with Cyrillic, Latin and Latin Extended subsets, so Macedonian and English share one typographic voice. The hierarchy pairs light structural type with bold figures: the big section headings sit at weight 300, the numbers at weight 700, and the micro-labels are uppercase. That contrast lets a reader scan for the number first and the label second, which is the correct order for a financial interface.

The masthead title is a paragraph, not a heading. Each page keeps exactly one h1 that describes the page itself, which is better for both screen readers and search engines than repeating the brand as the top heading on every route.

Layout and density

The layout is a 12-column Bootstrap grid with a 1440-pixel maximum and generous gutters. The rhythm changes with the job: six quick-fact cards across, two top-list columns, one company per row in the registry, two columns on the About page. White cards with soft shadows float on the textured surface, which keeps long pages from reading as a single undifferentiated table.

The registry uses one card per company rather than a dense table. The description and the three financial figures need room, and the card gives each company a readable identity. At wide widths the totals bar sticks to the bottom of the viewport, so the aggregate stays visible while the reader scrolls the list.

Charts

The charts follow the same colour logic as the cards: green income bars and lines, red expenses, an orange financial result drawn as a dashed line or a dashed bar outline. The zero line is darker than the other grid lines, so profit and loss separate at a glance. On the company chart the legend sits at the top right, out of the way of the data. Long company names in horizontal charts are truncated with an ellipsis to keep the plot readable; the cards below carry the full names.

The company chart is a smoothed line chart; the overview and comparison use bars. That is not decoration. A line implies continuity across time, which is right for one company’s series. Bars compare discrete totals, which is right for a sector snapshot.

Motion and details

Motion is limited to affordances: the quick-fact cards lift on hover, an arrow slides on the previous/next control, a chevron rotates when a director’s other companies open, and the totals panel fades in once. The charts use Chart.js’s default draw-in; the interface adds no page-level animation around the data.

Engineering: Boring Where it Counts

Static by design

There is no backend. The build reads the Ministry’s ODS workbook, generates a JSON dataset, builds the React application, then writes a static HTML shell for every route, a sitemap and a 404 page. GitHub Actions lints and deploys the result to GitHub Pages.

That architecture fits the update cadence. The data changes four times a year, so a rebuild is cheaper and safer than a live query. There is no database to migrate, no API to keep alive and no runtime that can fail between the reader and the numbers.

The data pipeline is part of the design

The unglamorous work sits in the generator: 2019 is annual, 2020 onward is quarterly; some cells arrive as text with comma decimal separators; 33 entities exist in the catalogue but only 29 report in 2026. The generator normalises all of it into one shape and keeps the source workbook public.

Company renames get special treatment. Three historical names are mapped to their current ones, because otherwise a rename looks like one company closing and another opening in the same year. That is a data fix, but it is also a UX fix: the comparison only tells the truth if the identity of a company survives its name.

Performance budget

The entry JavaScript is about 126 KB and the CSS about 27 KB, both gzipped. The dataset is about 21 KB. Chart.js lives in a separate 59 KB chunk, outside the entry bundle, and only the bar and line pieces the interface uses are registered. Fonts are three WOFF2 subsets, with only the Cyrillic subset preloaded; the hero ships as separate mobile and desktop WebP files, preloaded with media queries. Icons are an inline SVG subset, not an icon font. Bootstrap is compiled from source with unused components left out.

The layout-shift work is less visible: the loading skeleton reserves a full viewport, the breadcrumb is forced onto one line and truncated, and the chart height is reserved before Chart.js draws. The page should not move when the data arrives.

SEO without a server

The build generates a shell for every route with its own title, description, canonical URL, hreflang links, Open Graph and X/Twitter tags, and JSON-LD. Company shells contain the description, website and latest financials; the registry shell lists every company; the sitemap carries the language alternates. The 404 page is generated with noindex. On navigation, the client updates the document metadata after the data resolves, so a company page does not settle on a generic title while its data loads.

The noscript fallback is not an afterthought. A reader without JavaScript still gets the page heading, the description, the navigation and the relevant company data. That is the minimum a public record should do.

Bilingual, not just translated

Macedonian is the default; English is a full alternate with reciprocal hreflang tags. Company names and descriptions have English versions in the workbook. Director names are transliterated rather than translated, which is the respectful choice for proper names. Slugs are ASCII transliterations, so a Macedonian company name produces a readable URL.

The interface also handles Macedonian grammar rather than treating pluralisation as a string replace: one company is “претпријатие”, eleven are “претпријатија”. Switching language keeps the current year, filter, company and currency.

Resilience

The data request is versioned with the ODS modification date, so a new deployment does not keep serving a cached old dataset. If a deployment replaces a lazy chunk while a tab is open, the app reloads once instead of failing silently. A render error boundary offers a retry. Legacy hash URLs are rewritten to path URLs before the router starts.

Maintainability

Route shells, the sitemap and the 404 are generated from the same data and translation resources, which keeps metadata, sitemap and fallback pages consistent. Columns, currencies, filters and sort options live in single modules. ESLint runs in CI before the build.