Hi @Ulanbek - the Analytics library is not well-documented, it is used to share code between core DHIS2 analytics apps and hasn’t been designed for external consumption. With that said, you may of course use the library if it is helpful - the
d2 context comes from the legacy (now deprecated) data access library d2 - you can learn more by viewing the code of the Data Visualizer application, which uses the OrgUnitDimension component.
If you share more information about your use-case we may consider documenting and exposing some
analytics components in the future.