BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
YannRC
Obsidian | Level 7

Hello everybody, i try to use ddc on a visual analytics report. I don't understand why it doesn't work. 

I have this message and i don't know what i have to do to use the ddc. 

 

can you help me please?

 

ddc.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Mickey_SAS
SAS Employee

I can just barely see in your screenshot that you have the wrong URL for the sample DDC.

 

You have this URL, which is the github project entry.  These URL's have web security settings that prevent them from embedding in a web page, so even if you tried to use the raw code link you would see a similar failure.

https://github.com/sassoftware/sas-visualanalytics-thirdpartyvisualizations/blob/master/samples/d3_c...

 

As opposed to that link, change that URL to the below, which is a link directly to a demo of the code you can use for testing. 

https://sassoftware.github.io/sas-visualanalytics-thirdpartyvisualizations/samples/d3_circlePacking....

 

When looking at the main page here, you can use the demo link to get to some live examples( not all have this ).  Otherwise, you would want to download that code to a local web server you can utilize.

https://sassoftware.github.io/sas-visualanalytics-thirdpartyvisualizations/samples/

 

View solution in original post

4 REPLIES 4
Mickey_SAS
SAS Employee

I can just barely see in your screenshot that you have the wrong URL for the sample DDC.

 

You have this URL, which is the github project entry.  These URL's have web security settings that prevent them from embedding in a web page, so even if you tried to use the raw code link you would see a similar failure.

https://github.com/sassoftware/sas-visualanalytics-thirdpartyvisualizations/blob/master/samples/d3_c...

 

As opposed to that link, change that URL to the below, which is a link directly to a demo of the code you can use for testing. 

https://sassoftware.github.io/sas-visualanalytics-thirdpartyvisualizations/samples/d3_circlePacking....

 

When looking at the main page here, you can use the demo link to get to some live examples( not all have this ).  Otherwise, you would want to download that code to a local web server you can utilize.

https://sassoftware.github.io/sas-visualanalytics-thirdpartyvisualizations/samples/

 

YannRC
Obsidian | Level 7

Wonderful !!

it works. A big thank you for your help !!

YannRC
Obsidian | Level 7

last question on this topic, In some sample, i can find html htpps://sas... in the demo link. But on other sample, i have only the code. It's impossible for the second kind of sample to use the DDC or i have to do an other thing?

i arrive on this page.

 

YannRC_0-1672924172167.png

 

Mickey_SAS
SAS Employee

For the samples without a demo link, you'll need to copy the code to a web server that you can access, and then use that URL in the DDC.  Once you create your own DDC, you would be doing this same thing most likely.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 924 views
  • 2 likes
  • 2 in conversation