ISO/IEC 27002 Visual Diagram Project

ISO/IEC 27002 Visual Diagram

From Scratch to Live: Building and Deploying a Modern Security Controls Visualization

HTML5 CSS3 Responsive Design GitHub Pages No Framework

📋
Project Overview

This project documents the complete journey of building a fully responsive, dark-themed HTML/CSS diagram to visualize the 93 security controls defined in ISO/IEC 27002:2022. The goal was to create a clean, readable, and reusable component for blogs, internal SharePoint Wiki, or Power Page Wiki Platform environments.

93 Security Controls
4 Control Domains
0 External Libraries
100% Pure HTML/CSS

1
Phase 1: Laying the Foundation, HTML Structure

I began with a structured approach, creating a semantic HTML layout that would serve as the backbone for the entire visualization.

Structure Components
  • Header section with title and subtitle
  • Root node for visual anchoring
  • Four main domain containers
  • Individual control items
Control Domains
  • Organizational Controls (37)
  • People Controls (8)
  • Physical Controls (14)
  • Technological Controls (34)

Live Example: Control Item Structure

5.1
Policies for information security
5.2
Information security roles and responsibilities
HTML Structure
<div class="control-item" style="background-color:#0F1735; color:#ffffff; padding:10px; border-radius:5px;">
  <div class="control-id">5.1</div>
  <div class="control-title">Policies for information security</div>
</div>

2
Phase 2: Styling with CSS, Dark Mode and Responsive Design

The styling phase focused on creating a modern, accessible dark theme with responsive capabilities across all device sizes.

Design Decisions
  • Dark theme with #0F1735 background
  • Domain-specific color coding
  • CSS Grid for layout management
  • Smooth transitions and hover effects
Responsive Strategy
  • Desktop: 2-column grid layout
  • Tablet: Adaptive card stacking
  • Mobile: Single-column layout
  • Scrollable domain containers
Responsive CSS
@media (max-width: 768px) {
  .domains-grid {
    grid-template-columns: 1fr;
    background-color: #0F1735;
    color: #ffffff;
  }
}

3
Phase 3: Testing Responsiveness

Comprehensive testing across multiple devices and screen sizes ensured optimal user experience everywhere.

Desktop (1200px+)

All domains display side by side in a clean two-column layout with optimal spacing.

Tablet (768px-1200px)

Layout adapts to stack cards while maintaining visual hierarchy and readability.

Mobile (768px)

Each domain becomes full-width with vertical scrolling for easy navigation.

4
Phase 4: Hosting It Live with GitHub Pages

Deployment to GitHub Pages provides a stable, public URL for integration across multiple platforms.

Deployment Steps
1. Rename file to index.html
2. Push to GitHub repository
3. Enable GitHub Pages (Settings → Pages → Source → main branch)
4. Access via: https://your-username.github.io/iso27002_Diagram/

5
Phase 5: Platform Integration

The diagram was designed for seamless integration across multiple enterprise platforms and content management systems.

W
WordPress

HTML widget in Elementor or iframe embed for seamless blog integration.

S
SharePoint

File Viewer web part or Embed Web Part for modern SharePoint sites.

P
Power Pages

Upload as Web File and reference via Web Page templates.

T
Teams

Website Tab integration for IT Governance and InfoSec channels.

iframe Integration
<iframe src="https://your-username.github.io/iso27002_Diagram/" 
        width="100%" 
        height="1200" 
        style="border:none;">
</iframe>

Explore the Code

Open source project licensed under MIT. Fork, customize, and extend for your own needs.

"Bringing structure and clarity to ISO 27002 in modern environments"

3.5 2 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x