marmelab / marmelab/EventDrops

[RFC] Support for interval (continuous) series

Open
#138 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1.3k
Forks
233
PR merge metrics
No merged PRs in 30d

Description

In addition to supporting single-point Date drops (depicting a time when an event took place), I think support for interval (e.g. continuous events) would add some needed functionality to this component

I suppose the use cases range widely (and there are too many to count) but the most basic ones include:
- Scheduling
- Historical records / TImeline (membership / "activation time")
- Schematic view of recordings (e.g. go-pro / live feed / home cameras / etc)

I propose something of the sorts:

- A line/series is composed of either singular drops **or** intervals - specified as a boolean in the data object
- intervals are presented the same as drops, only 'circle' is replaced with a 'rect'

Open questions:
- Should meatball-ing appear the same for these two types?
- What is to be done with crossing intervals (unlike drops, they may contain dissimilar data)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing single-point Date-drop data model and rendering behavior described in the issue. Define how intervals are represented, rendered as rectangles instead of circles, and handled when they cross or contain dissimilar data. Done requires decisions on interval data, crossing behavior, and meatball-ing before implementation can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3js, javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.