Skip to content

Refactor CircularHeatmapComponent Extract D3 Logic to and Enhance Type Safety #454

@Biswas-Samrat

Description

@Biswas-Samrat

The CircularHeatmapComponent.ts has grown to 757 lines, leading to high cognitive load and poor maintainability. It currently violates the Single Responsibility Principle by mixing Angular component lifecycle management with complex D3 SVG manipulation and data transformation.

Key Objectives

  1. Move D3 rendering logic into a dedicated D3HeatmapService.
  2. Eliminate the use of any types within the component for type safety.
  3. Reduce the component's line count by moving D3 logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions