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

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
Fluorite | Level 6

Wonderful !!

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

YannRC
Fluorite | Level 6

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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 518 views
  • 2 likes
  • 2 in conversation