Parallel Judgments is an interactive visualization tool designed to help legal professionals, researchers, and students analyze and compare court case decisions across different jurisdictions and time periods. The tool leverages D3.js to create multiple coordinated views that reveal patterns and relationships between cases based on their citations, temporal proximity, and other key characteristics.
- Comprehensive view of case metadata
- Selectable rows for detailed comparison
- Date range filtering capability
Compares cases across three key dimensions:
- Citations: Number of times the case has been cited
- Cites To: Number of precedents referenced
- Decision Year: Temporal placement of the case
Analyzes relationships between:
- Opinion Length: Indicating case complexity
- Citation Ratio: Measure of case influence vs. precedent reliance
- Jurisdiction Level: Court hierarchy position
- Weighted comparison of cases based on:
- Citation overlap (70% weight)
- Temporal proximity (30% weight)
- Interactive visualization of case relationships
- Data sourced from CourtListener and Caselaw Access Project
- Preprocessed and structured in JSON format
- Includes metadata such as citations, dates, jurisdictions, and opinion text
- D3.js for visualizations
- HTML/CSS for layout and styling
- JavaScript for interaction handling
- noUiSlider for date range selection
parallel-judgments/
├── index.html
├── style.css
├── app.js
├── data/
│ └── [JSON files]
├── screenshots/
└── README.md
loadData()
: Initializes data loading and visualization setupcreateTable()
: Generates interactive case comparison tablecreateRadarChart()
: Builds radar chart visualizationcreateParallelCoordinatesPlot()
: Creates parallel coordinates displaycreateSimilarityChart()
: Generates similarity analysis visualizationcalculateEnhancedSimilarity()
: Computes case similarity metrics
- Clone the repository:
git clone https://github.com/dataviscourse2024/group-project-parallel-judgments-vis.git
- Navigate to project directory:
cd group-project-parallel-judgments-vis
- Start a local server:
python -m http.server 8000
- Open in browser:
http://localhost:8000
-
Case Selection:
- Use checkboxes in the table to select cases for comparison
- Filter cases using the date range slider
-
Visualization Interaction:
- Hover over elements for detailed tooltips
- Use the parallel coordinates plot to identify patterns
- Examine radar charts for case characteristic comparison
-
Similarity Analysis:
- Select multiple cases to see their relationship strengths
- Examine both citation overlap and temporal proximity
- Sampad Banik ([email protected])
- K M Arefeen Sultan ([email protected])
- University of Utah Data Visualization Course
- CourtListener API
- Caselaw Access Project
- D3.js community